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