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