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