#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b;
  cout << "enter the first number = ";
  cin >> a;
  cout << "enter the second number = ";
  cin >> b;
  if (a >= 1 && a <= 9 && b >= 1 && b <= 9) {
    cout << "The result = ";
  } else
    cout << "-1";
}
