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