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