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