def check(p1): ch=0 for i in range(2,p1): s1=int(p1/i) s2=i*s1 m=p1-s2 if m==0:ch=100 return ch print(check(71))