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