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