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