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