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