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