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