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