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