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