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