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