A-Groundhog and 2-Power Representation

python nb
一行代码解决问题

print(eval(input().replace('(', '**(')))