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