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