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