The ratio of the number of bathing suits Dina had to the number of bathing suits Yana had was 4:1. After Dina threw out 26 bathing suits, she had 2 fewer than Yana. How many bathing suits did Dina have to begin with?