On each of four cards there is written a natural number. Take two cards at random and add the numbers on them. With equal probability, this amount can be less than 9, equal to 9 or more 9. What numbers can be written on the cards?