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