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