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