There are 6 baskets on the table. Each basket has 9, 4, 1, 0, 10 and 5 apples. Emma chose first, Liam chose fourth, Olivia chose second, John chose sixth, Matt chose third, and Sean chose fifth. How many apples did John and Matt choose in total?