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