procedure abc(n:longint);var s:string; i:integer;begin str(n,s); for i:=length(s) downto 1 do if odd(ord(s[i])) then write(s[i]); end; writeln;end;
http://codepad.org/RArFqKml