#include using namespace std; using ll = long long; const ll mod = 1e9 + 7; const int N = 200005; const int INF = 0x3f3f3f3f; int cal(int x, int y) { if (x && y) return 0; return 1; } int main() { for (int x = 0; x < 2; x++) { for (int y = 0; y < 2; y++) { for (int z = 0; z < 2; z++) { if (cal(cal(x, y), z) != cal(x, cal(y, z))) { cout << x << " " << y << " " << z << "\n"; return 0; } } } } return 0; }