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