var
s, x:real;
begin
writeln('Введите x');
readln(x);
s:=cos(x)-sin(x)+abs(x-7)+x*2-1;
writeln('ответ ', s);
end.