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