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