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