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