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