#include <stdio.h> #include <math.h> int main() { int j,m,k; long a,b,c,d=0,e=0; scanf("%ld",&a); for(j=0;a>0;j++) { c=pow(10,j); m=a%c; a=a-m; k=m/pow(10,j-1); if(k%2!=0) { d=d+pow(10,j-1); e=e; } } d=d-e; printf("%ld",d); return 0; }