This is a task from NYU, which I found interesting as an academic challenge