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