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