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