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