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