/* package whatever; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;

/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
    static int left;
    static int right;

	public static void main(String[] args) {
		left = 5; //Integer.parseInt(args[0]);
		right = 3; //Integer.parseInt(args[1]);

		class Binary {
    		private int left;
    		private int right;
    	
	    	public Binary(){
    		    this.left = Ideone.left;
    		    this.right = Ideone.right;
    		}

    		public void and(){
				int n = left & right;
				String m = Integer.toBinaryString(n);
				System.out.println(m);
			}
		}

		Binary i = new Binary();
		i.and();
	}
}