// here i calculate x raised to the power y in O(logn)
//code
class x
{
static int power(int x, int y)
{
int temp;
if (y == 0)
return 1;
temp = power(x, y / 2);
if (y % 2 == 0)
return temp * temp;
else
return x * temp * temp;
}
public static void main(String [] args)
{
int res=power(2,3);
System.out.println(res);
}
}