{"raw_statement":[{"iden":"problem statement","content":"In an $xy$\\-coordinate plane whose $x$\\-axis is oriented to the right and whose $y$\\-axis is oriented upwards, rotate a point $(a, b)$ around the origin $d$ degrees counterclockwise and find the new coordinates of the point."},{"iden":"constraints","content":"*   $-1000 \\leq a,b \\leq 1000$\n*   $1 \\leq d \\leq 360$\n*   All values in input are integers."},{"iden":"input","content":"Input is given from Standard Input in the following format:\n\n$a$ $b$ $d$"},{"iden":"sample input 1","content":"2 2 180"},{"iden":"sample output 1","content":"\\-2 -2\n\nWhen $(2, 2)$ is rotated around the origin $180$ degrees counterclockwise, it becomes the symmetric point of $(2, 2)$ with respect to the origin, which is $(-2, -2)$."},{"iden":"sample input 2","content":"5 0 120"},{"iden":"sample output 2","content":"\\-2.49999999999999911182 4.33012701892219364908\n\nWhen $(5, 0)$ is rotated around the origin $120$ degrees counterclockwise, it becomes $(-\\frac {5}{2} , \\frac {5\\sqrt{3}}{2})$.  \nThis sample output does not precisely match these values, but the errors are small enough to be considered correct."},{"iden":"sample input 3","content":"0 0 11"},{"iden":"sample output 3","content":"0.00000000000000000000 0.00000000000000000000\n\nSince $(a, b)$ is the origin (the center of rotation), a rotation does not change its coordinates."},{"iden":"sample input 4","content":"15 5 360"},{"iden":"sample output 4","content":"15.00000000000000177636 4.99999999999999555911\n\nA $360$\\-degree rotation does not change the coordinates of a point."},{"iden":"sample input 5","content":"\\-505 191 278"},{"iden":"sample output 5","content":"118.85878514480690171240 526.66743699786547949770"}],"translated_statement":null,"sample_group":[],"show_order":["default"],"formal_statement":null,"simple_statement":null,"has_page_source":true}