public class Two_n {
public static void main(String[] args) {
System.out.println(power2(8));
}
public static int power2(Integer n) {
if(n<0) {
return 0;
}
if(n==0) {
return 1;
}else {
return 2*power2(n-1);
}
}
}