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