Accenture interview question

Resolver el diagrama de flujo