Given a string sequence of a letters f.e. AAABCCXXXXXXY. Return run-length encoded string 3AB2C6XY. Also make a decoder for that string.
string
AAABCCXXXXXXY
3AB2C6XY