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