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