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