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