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