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