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