Pergunta de entrevista da empresa NTT DATA

write code on paper and be correct for syntax