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