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