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