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