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