Pergunta de entrevista da empresa Kin Insurance

Write a program that parses the text in the format they provide, checks it for errors, and outputs the processed output.