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