def S(x): s=1.3*x return s def A(x): a=29+x return a x=0 while A(x)>=S(x): x=x+1 print(x)