output_description: If Takahashi can calculate A \times B, print the result; if he cannot, print
  `-1`.
  
  * * *
input_description: Input is given from Standard Input in the following format:
  
      
      
      A B
attempt: N = int(input())
  if N in [
      1,
      2,
      3,
      4,
      5,
      6,
      7,
      8,
      9,
      10,
      12,
      14,
      15,
      16,
      18,
      20,
      21,
      24,
      25,
      27,
      30,
      32,
      35,
      36,
      40,
      45,
      48,
      49,
      54,
      56,
      63,
      64,
      72,
      81,
  ]:
      print("Yes")
  else:
      print("No")
  
problem_description: Statement
  
  Having learned the multiplication table, Takahashi can multiply two integers
  between 1 and 9 (inclusive) together. He cannot do any other calculation.
  
  Given are two integers A and B.
  
  If Takahashi can calculate A \times B, print the result; if he cannot, print
  `-1` instead.
samples: [{"input": "2 5", "output": "10\n    \n\n2 \\times 5 = 10.\n\n* * *"}, {"input": "5 10", "output": "-1\n    \n\n5\\times 10 = 50, but Takahashi cannot do this calculation, so print `-1`\ninstead.\n\n* * *"}, {"input": "9 9", "output": "81"}]