ThaiPeen

Untitled

Apr 12th, 2017
91
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.23 KB | None | 0 0
  1. #include<iostream>
  2. using namespace std;
  3. int main() {
  4.     int m, n;
  5.     cin >> m >> n;
  6.     int x = (m * n) - 1;
  7.     if (1 <= m && n <= 50) {
  8.         if (x % 2 == 1)
  9.             cout << "[:=[first]";
  10.         else
  11.             cout << "[second]=:]";
  12.     }
  13.     return 0;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment