mirror of
https://github.com/codeflash-ai/codeflash-internal.git
synced 2026-05-04 18:25:18 +00:00
10 lines
167 B
Python
10 lines
167 B
Python
def problem_p02879(input_data):
|
|
A, B = list(map(int, input_data.split()))
|
|
|
|
if 1 <= A <= 9 and 1 <= B <= 9:
|
|
|
|
return A * B
|
|
|
|
else:
|
|
|
|
return -1
|