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