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