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