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