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