There are 6 baskets on the table. Each basket has 15, 19, 17, 18, 5 and 16 apples. Olivia chose first, Liam chose third, Matt chose fourth, Emma chose sixth, Sean chose second, and John chose fifth. How many apples did John and Matt choose in total?