var a,b,c,d:integer;
BEGIN
read(a,b,c,d);
if (a*b*c*d mod 3 = 0) then
writeln("Pravda")
else writeln("Nepravda");
END.
var a,b,c,d:integer;
BEGIN
read(a,b,c,d);
if (a*b*c*d mod 3 = 0) then
writeln("Pravda")
else writeln("Nepravda");
END.