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