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