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