public class GGT1 {
public static int euklid (int a int b ) {
int r = 1;
while (r!=0){
r=a&b;
a=b;
b=r;
}
return a;
} // end of while
public static void main(String[] args) {
int a;
a= InOut.readInt("GroessterTeiler");
System.out.println(euklid(a,b));
} // end of main
} // end of class GGT1