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