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