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