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