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