import java.io.*;
public class Test
{
public static void main(String[] args)throws IOException
{
int sum=0;
String str=new String();
BufferedReader in=new BufferedReader(new InputStreamReader(System.in));
str=in.readLine();
int Length=str.length();
for(int i=0;i<Length;i++)
{
if(str.charAt(i)!='0'||str.charAt(i)!='1')
System.out.println("你输入的不是一个二进制数");
}
}