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