#!/usr/bin/python3 import sys for line in sys.stdin: l = line.replace('\n', '') print(str(len(l)) + " " + l)