Pregunta de entrevista de Amazon

How did the user interact with this program?