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