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