You are given S contains only '0', '1', '2'. Replace it with their sum modulo 3. Constraint * 1 ≤ |S| ≤ 15