Pergunta de entrevista da empresa FDM Group

Follow this flow diagram. What is thd output of this program.