do input""t for i=1to t*t^0input""n b=n=int(abs(n)) if!b?"Invalid input" if b?(n-2)*180 next loop