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