x:=10; readln(a); if a>5 then y:=10+a*x else y:=10-a*x; writeln (y);