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