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