program domino;
var x, L, M:integer;
begin
readln(x);
L:=0; M:=0;
while x > 0 do begin
L:= L+1;
if x mod 2 = 0 then
M:= M+X mod 10;
x:=x div 10;
end;
writeln(L); write(M);
end.
cHJvZ3JhbSBkb21pbm87CnZhciB4LCBMLCBNOmludGVnZXI7CmJlZ2luCiByZWFkbG4oeCk7CiBMOj0wOyBNOj0wOwp3aGlsZSB4ID4gMCBkbyBiZWdpbiAKIEw6PSBMKzE7CiAgaWYgeCBtb2QgMiA9IDAgdGhlbgogICBNOj0gTStYIG1vZCAxMDsKICB4Oj14IGRpdiAxMDsKIGVuZDsKIHdyaXRlbG4oTCk7IHdyaXRlKE0pOwplbmQu