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