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