//三角形面积=SQRT(S*(S-a)*(S-b)*(S-c)) 其中S=(a+b+c)/2,a、b、c为三角形的三边。
//定义两个带参的宏,一个用来求area, 另一个宏用来求S。
//写程序,在程序中用带实参的宏名来求面积area。
#include <math.h>
#include <stdio.h>
int main() {
  int a;
  scanf("%d", &a);
  int tmp;
  int i = 0;
  int count = 0;
  while (a!= 0) {
    tmp = a%10;
    if(tmp%2==0)
      tmp=0;
    else  
      tmp = 1;
       count = count+tmp*pow(10,i++);
      a = a/10;
  }
  printf("%d",count);
}