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