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