fork download
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5. int n, m;
  6. cin >> m >> n;
  7. int rez = m - 1 + m * (n - 1);
  8. if(rez % 2)
  9. cout << "[:=[first]";
  10. else cout << "[second]=:]";
  11. return 0;
  12. }
Success #stdin #stdout 0s 4376KB
stdin
1 3
stdout
[second]=:]