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