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