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