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