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