using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Baekjoon
{
class Program
{
static void Main(string[] args)
{
string word = Console.ReadLine();
int count = 0;
while (true)
{
try
{
Console.WriteLine(word.Substring(count, 10));
}
catch
{
Console.WriteLine(word.Substring(count));
break;
}
count += 10;
}
}
}
}
Substring(int startIndex)
: 시작 인덱스 ~ 나머지 모든 문자열 return
Substring(int startIndex, int length)
: 시작 인덱스 ~ 입력된 길이까지 문자열 return