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