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