NVIDIA interview question

Question was in python - receive a file with orders and parse it