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