var m1,m2,v1,v2:real;
Begin
read(m1,m2,v1,v2);
if m1/v1 > m2/v2 then writeln('Pervoe')
else writeln('Vtoroje');
End.
var a,b:integer;
read(a,b);
writeln('A delitel B - ', A mod b=0);
writeln('B delitel A - ', B mod A=0);
var m1,m2,v1,v2:real;
Begin
read(m1,m2,v1,v2);
if m1/v1 > m2/v2 then writeln('Pervoe')
else writeln('Vtoroje');
End.
var a,b:integer;
Begin
read(a,b);
writeln('A delitel B - ', A mod b=0);
writeln('B delitel A - ', B mod A=0);
End.