var d,i:integer;
s:string;
Begin
read(d);
s:=str(d);
for i:= 1 to length(s) do
if int(s[i]) mod 2=0 then
writeln(s[i]);
End.
Copyright © 2025 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
Verified answer
var d,i:integer;
s:string;
Begin
read(d);
s:=str(d);
for i:= 1 to length(s) do
if int(s[i]) mod 2=0 then
writeln(s[i]);
End.