from math import * s=sin c=cos while 1:print'%7f'%eval('('.join('sscccscccssssscscci')+'nput('+')'*19)