numbers = list(map(int(), input().split('')))
startPos = 0
endPos = len(n)
divider = 4
for i in range (startPos, endPos+divider, divider):
    out = numbers[startPost:startPost+divider]
    if out != []:
        print(out)
    start_pos = start_post + div    