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