#include <bits/stdc++.h>
using namespace std;
int main() {
  int A;
  A = 1 <= A <= 20;
  cout << A << endl;
  int B;
  B = 1 <= B <= 20;
  cout << B << endl;
  if (1 <= A <= 20, 1 <= B <= 20) {
    cout << "1" << endl;
  } else {
    cout << "-1" << endl;
  }
}
