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