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