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