 #include <iostream>
   1 
   2 using namespace std;
   3 
   4 int main_taskA() {
   5     int a, b;
   6     cin >> a >> b;
   7     if (a < 10 && b < 10) {
   8         cout << a * b << endl;
   9     } else {
  10         cout << -1 << endl;
  11     }
  12     return 0;
  13 }