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