17164 - Rainbow Beads 📌 문제 Jaehyun has a bead which consists of jewels arranged from left to right. Each jewel is in one of the three colors: Red, Blue, and Violet, which is represented as a single character R, B, V. As one of the committees in an important contest, Jaehyun wants to use it as a souvenir for some participant. Jaehyun likes a bead with diverse colors, so he defines a bead beautifu..