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