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