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