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