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