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