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