import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); String n=in.next(); char[] ch=n.toCharArray(); String num=""; for(int i=0;i<ch.length;i++){ num+=(int)ch[i]%2; } System.out.print(Integer.parseInt(num)); } }