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