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