Program n_1;
var x:integer; p:boolean;
begin
readln(x);
if x mod 2 = 0 then p:=true else p:=false;
writeln(p);
end.
Program n_1;
var x:integer; p:boolean;
begin
readln(x);
if x mod 2 = 0 then p:=true else p:=false;
writeln(p);
end.