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