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