Originally, the ratio of yellow to purple color pencils is 7:2. I lose one purple color pencil every day and three yellow pencils every day. One time, I lose three yellow pencils and lose my last purple color pencil. Surprisingly, I am left with 15 yellow colored pencils. How many pencils were there together originally?