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