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