diff --git a/swea/12221.py b/swea/12221.py new file mode 100644 index 0000000..e08f55b --- /dev/null +++ b/swea/12221.py @@ -0,0 +1,12 @@ +t=int(input()) + +for tc in range(1,t+1): + a,b=map(int,input().split()) + + result=0 + if a>9 or b>9: + result=-1 + else: + result=a*b + + print("#"+str(tc),result)