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