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