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