Pergunta de entrevista da empresa Dassault Systèmes

Dsa question given input and output of two's power