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