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