Pagini recente » Cod sursa (job #2640686) | Cod sursa (job #2747010) | Cod sursa (job #1666831) | Cod sursa (job #2473283) | Cod sursa (job #37930)
Cod sursa(job #37930)
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.