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