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