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