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