Pagini recente » Cod sursa (job #1730941) | Cod sursa (job #1959964) | Cod sursa (job #2579944) | Cod sursa (job #1469977) | Cod sursa (job #37925)
Cod sursa(job #37925)
program bowling;
var f,g:text;
x,i,j,n,t,nr:longint;
begin
assign(f,'bowling.in'); reset(f);
assign(g,'bowling.out'); rewrite(g);
readln(f,t);
for i:=1 to t do begin
read(f,n);
for j:=1 to n do begin
read(f,x);
if x=1 then inc(nr);
end;
if nr mod 2=0 then writeln(g,'Nargy') else writeln(g,'Fumeanu');
end;
close(f); close(g);
end.