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