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