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