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