program zaznaczanie_licz_parzystych_w_liscie;
type elem=record
data: integer;
label1: boolean
end;
tab=array[1..10]of elem;
lst = record
elementy: tab;
ile: integer
end;
var
i: integer;
x: lst;
begin
readln(x.ile);
for i := 1 to x.ile do
begin
read(x.elementy[i].data);
x.elementy[i].label1 := (x.elementy[i].data mod 2 = 0);
end;
for i := 1 to x.ile do
begin
if x.elementy[i].label1 then
writeln(x.elementy[i].data);
end;
end.
cHJvZ3JhbSB6YXpuYWN6YW5pZV9saWN6X3Bhcnp5c3R5Y2hfd19saXNjaWU7CnR5cGUgZWxlbT1yZWNvcmQKCiAgICAgICAgICAgICAgICAgICAgZGF0YTogaW50ZWdlcjsKCiAgICAgICAgICAgICAgICAgICAgbGFiZWwxOiBib29sZWFuCgogICAgICAgICAgICAgICAgZW5kOwoKICAgICB0YWI9YXJyYXlbMS4uMTBdb2YgZWxlbTsKCiAgICAgbHN0ID0gcmVjb3JkCiAgICAgICAgICAgICAgICBlbGVtZW50eTogdGFiOwogICAgICAgICAgICAgICAgaWxlOiBpbnRlZ2VyCiAgICAgICAgICAgICBlbmQ7CnZhcgogICAgaTogaW50ZWdlcjsKICAgIHg6IGxzdDsKCmJlZ2luCglyZWFkbG4oeC5pbGUpOwoJZm9yIGkgOj0gMSB0byB4LmlsZSBkbwoJCWJlZ2luCiAgICAJCXJlYWQoeC5lbGVtZW50eVtpXS5kYXRhKTsgICAKICAgIAkJeC5lbGVtZW50eVtpXS5sYWJlbDEgOj0gKHguZWxlbWVudHlbaV0uZGF0YSBtb2QgMiA9IDApOyAKCQllbmQ7CgkKCWZvciBpIDo9IDEgdG8geC5pbGUgZG8KCQliZWdpbgogICAgCQlpZiB4LmVsZW1lbnR5W2ldLmxhYmVsMSB0aGVuCiAgICAJCQl3cml0ZWxuKHguZWxlbWVudHlbaV0uZGF0YSk7CgkJZW5kOwplbmQu