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