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