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