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