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