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