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