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