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