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