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