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