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