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