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