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