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