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