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