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