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