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