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