This is my solution of the CodinGame challenge MIME Types: