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