var x, y: real;
begin
readln(x);
y:= x - sqr(x) / 3 + power(x, 6) / 4;
writeln(y);
end.
y:= power(3, (-x)) + cos(x) - sin(sqr(x));
y:= sqr(x) * x + 9 * x + 12 / sqr(x) - 6 * x + 15;
y:= x + 12 * sin(2 * x) + abs(power(x, 3) + power(x, 5))
var x, y: real;
begin
readln(x);
y:= x - sqr(x) / 3 + power(x, 6) / 4;
writeln(y);
end.
var x, y: real;
begin
readln(x);
y:= power(3, (-x)) + cos(x) - sin(sqr(x));
writeln(y);
end.
var x, y: real;
begin
readln(x);
y:= sqr(x) * x + 9 * x + 12 / sqr(x) - 6 * x + 15;
writeln(y);
end.
var x, y: real;
begin
readln(x);
y:= x + 12 * sin(2 * x) + abs(power(x, 3) + power(x, 5))
writeln(y);
end.