Why is there no output coming in this problem ?

```
#include <iostream>
using namespace std;
int main() {
int t;
while(t){
int a, b, a1, b1, a2, b2;
cin >> a >> b >> a1 >> b1 >> a2 >> b2;
if(((a+b == a1 + b1) & (a == a1 | a == b1))){
cout << "1" << endl;
}
else if(((a+b == a2 + b2) & (a == a2 | a == b2))){
cout << "2" << endl;
}
else{
cout << "0" << endl;
}
t--;
}
return 0;
}
```