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