s=input() l=[8008,1001,9006,6009,8888,1881,9886,6889,8118,1111,9116,6119,8968,1961,9966,6969,8698,1691,9696,6699] for i in range(20): l[i]=str(l[i]) ans=[] for i in l: for j in range(4): k=0 if i[j] not in s: k=10 break if(k==0): ans.append(i) If len(ans) ==0 : print(-1) else: print(','.join(ans))
Answers
Answered by
0
Answer:
find the Length breadth and perimeter of the square whose area is 196 CM
Similar questions