var a:array[1..200] of integer;n,i:integer;
procedure xl;
begin
d:=0;
for i:=1 to n do
if a[i]<0 then begin
inc(d);
write(a[i],' ');
end;
if d >0 then
write('co 'd,' so am');
end;
begin
assign(input,'bt.inp');reset(input);
assign(output,'bt.out');rewrite(output);
readln(n);
for i:=1 to n do read(a[i]);
xl;
close(input);
close(output);
end.