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