program example1;
const
glasn=['','','','','','','','',''];
soglas=['','','','','','','','','',
'','','','','','','','','','','',''];
var
st: string;
g,s,i:integer;
begin
write(' > '); readln(st);
g:=0; s:=0;
for i:= 1 to length(st) do
if st[i] in glasn then inc(g) else if st[i] in soglas then inc(s);
if g> s then writeln(' ')
else if g< s then writeln(' ')
else writeln(' ');
readln;
end.