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