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