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