(2*51.0+2*69.91)-(2*49.8+130.6) code example
Example: 1,1,2,3,4,9,8,27,16,81,32,243,64,729,128,2187
num = int(input())if(num%2==0):num = num // 2print(3**(num-1))else:num = num // 2 + 1print(2**(num-1))
num = int(input())if(num%2==0):num = num // 2print(3**(num-1))else:num = num // 2 + 1print(2**(num-1))