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