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