#include <stdio.h>
#include <math.h>
int main() {
    long long n = 0;
    scanf("%lld",&n);
    int i = 0;
    int  ret = 0;
    while(n)
    {
        int m = n%10;
        if(m%2==0)
        {
            m =0;
        }
        else {
        m = 1;
        }
        n/=10;
        ret += m*(int )pow((int )10,(int )i++);
    }
    printf("%d",ret);
    return 0;
}