using System;
public class Test
{
public static void Main()
{
System.Console.WriteLine(5.ToString().PadLeft(6, '0'));
System.Console.WriteLine(67.ToString().PadLeft(6, '0'));
System.Console.WriteLine(19.ToString().PadLeft(6, '0'));
System.Console.WriteLine(9.ToString().PadLeft(6, '0'));
}
}
dXNpbmcgU3lzdGVtOwoKcHVibGljIGNsYXNzIFRlc3QKewoJcHVibGljIHN0YXRpYyB2b2lkIE1haW4oKQoJewogICAgICAgIFN5c3RlbS5Db25zb2xlLldyaXRlTGluZSg1LlRvU3RyaW5nKCkuUGFkTGVmdCg2LCAnMCcpKTsKICAgICAgICBTeXN0ZW0uQ29uc29sZS5Xcml0ZUxpbmUoNjcuVG9TdHJpbmcoKS5QYWRMZWZ0KDYsICcwJykpOwogICAgICAgIFN5c3RlbS5Db25zb2xlLldyaXRlTGluZSgxOS5Ub1N0cmluZygpLlBhZExlZnQoNiwgJzAnKSk7CiAgICAgICAgU3lzdGVtLkNvbnNvbGUuV3JpdGVMaW5lKDkuVG9TdHJpbmcoKS5QYWRMZWZ0KDYsICcwJykpOwoJfQp9