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