$;=3;$_=$;while($;-=sin$;/cos$;)-$_;print $;=2;$_=$;while($;+=(1-log$;)*$;)-$_;print