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