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