var
x,y: integer;
begin
readln(x,y);
writeln('1. ',x-x**3 / 3 + x**5 / 5);
writeln('2. ',2**(-x) - cos(x) + sin(2*x*y));
writeln('3. ',x-(10*sin(x)) + abs((x**4)-(x**5)));
writeln('4. ',x**2-7*x+10/x**2-8*x+12);
End.
var
x,y: integer;
begin
readln(x,y);
writeln('1. ',x-x**3 / 3 + x**5 / 5);
writeln('2. ',2**(-x) - cos(x) + sin(2*x*y));
writeln('3. ',x-(10*sin(x)) + abs((x**4)-(x**5)));
writeln('4. ',x**2-7*x+10/x**2-8*x+12);
End.