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