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