You are given a string of 12 uppercase English letters. Output the string with a single space between the first 4 letters and the last 8 letters. For example, "CODEFESTIVAL" should be output as "CODE FESTIVAL".

# Buggy version:
s = str(input())
print(s[:4]+" "+s[5:],sep = "")

# Fixed version:
s = str(input())
print(s[:4]+" "+s[4:],sep = "")

# Buggy version:
import sys
import copy
import math
import bisect
import pprint
import bisect
from functools import reduce
from copy import deepcopy
from collections import deque

def lcm(x, y):
    return (x * y) // math.gcd(x, y)

if __name__ == '__main__':
    a = [str(i) for i in input().split()]
    print(a[0][:4]+" "+a[0][5:])


# Fixed version:
import sys
import copy
import math
import bisect
import pprint
import bisect
from functools import reduce
from copy import deepcopy
from collections import deque

def lcm(x, y):
    return (x * y) // math.gcd(x, y)

if __name__ == '__main__':
    a = [str(i) for i in input().split()]
    print(a[0][:4]+" "+a[0][4:])

# Buggy version:
a = input()
a_first, a_last = s[:4], s[4:]
print(a_first + ' ' + a_last)

# Fixed version:
a = input()
a_first, a_last = a[:4], a[4:]
print(a_first + ' ' + a_last)

# Buggy version:
s=list(input())
a=s[0]+s[1]+s[2]+s[3]
b=''
for i in range(8):
  b=s[4+i]
print(a,b)

# Fixed version:
s=list(input())
a=s[0]+s[1]+s[2]+s[3]
b=''
for i in range(8):
  b+=s[4+i]
print(a,b)

# Buggy version:
s = list(input())
f= ''.join(s[:4])
b=''.join(s[4:])
print(f,'',b)

# Fixed version:
s = list(input())
f= ''.join(s[:4])
b=''.join(s[4:])
print(f,b,sep=' ')

# Buggy version:
s = list(input())
s = s.insert(4,' ')
print(''.join(s))


# Fixed version:
s=list(input())
s.insert(4," ")
print("".join(s))

# Buggy version:
a = list(input())
ans = a[:4] + ' ' + a[4:]
print(a)

# Fixed version:
a = input()
ans = a[:4] + ' ' + a[4:]
print(ans)

# Buggy version:
s=input()
print('{} {}'.format(s[:4],s[5:]))

# Fixed version:
s=input()
print('{} {}'.format(s[:4],s[4:]))

# Buggy version:
s=input()
print(s[:4],'',s[4:])

# Fixed version:
s=input()
print(s[:4],s[4:],sep=' ')

# Buggy version:
s = str(input())
print(s[0:3] + " " + s[4:])

# Fixed version:
s = str(input())
print(s[0:4] + " " + s[4:])

# Buggy version:
S = input()
print(S[:3],S[4:])

# Fixed version:
S=input()
print(S[:4],S[4:])

# Buggy version:
s=list(input())

print(''.join(s[0:4]+' '+''.join(s[4:])

# Fixed version:
s = list(input())
s = s[:4] + [' '] + s[4:]
print(''.join(s))

# Buggy version:
# -*- coding: utf-8 -*-
# !/usr/bin/env python
# vim: set fileencoding=utf-8 :

"""
#
# Author:   Noname
# URL:      https://github.com/pettan0818
# License:  MIT License
# Created:  2016-09-28
#

# Usage
#
"""
from __future__ import division
from __future__ import unicode_literals
from __future__ import print_function
from __future__ import absolute_import

def input_process():
    """Receive Inputs."""
    return input()


def insert_space(target_str: str) -> str:
    """
    >>> insert_space("codefestival")
    code festival
    """
    return target_str[0:3] + " " + target_str[3:]

if __name__ == "__main__":
    target = input()

    print(insert_space(target))


# Fixed version:
# -*- coding: utf-8 -*-
# !/usr/bin/env python
# vim: set fileencoding=utf-8 :

"""
#
# Author:   Noname
# URL:      https://github.com/pettan0818
# License:  MIT License
# Created:  2016-09-28
#

# Usage
#
"""
from __future__ import division
from __future__ import unicode_literals
from __future__ import print_function
from __future__ import absolute_import

def input_process():
    """Receive Inputs."""
    return input()


def insert_space(target_str: str) -> str:
    """
    >>> insert_space("codefestival")
    code festival
    """
    return target_str[0:4] + " " + target_str[4:]

if __name__ == "__main__":
    target = input()

    print(insert_space(target))

# Buggy version:
s = input()
print('{0] {1}'.format(s[:4],s[4:]))

# Fixed version:
s = input()
print("{0} {1}".format(s[:4], s[4:]))

# Buggy version:
s = input()
print(s)
print(s[:4],s[4:])

# Fixed version:
s = str(input())
print(s[:4], s[4:])

# Buggy version:
s=input
ss=s[0:3]+" "+s[4:]
print(ss)

# Fixed version:
s=input()
ss=s[0:4]+" "+s[4:]
print(ss)

# Buggy version:
s=input()
s[:4]+" "+s[4:]

# Fixed version:
s = input()

print(s[:4] + ' ' + s[4:])

# Buggy version:
s = input('input')
print(s[0:4], end=' ')
print(s[4:], end='')

# Fixed version:
s = input()
print(s[:4], end="")
print(" ", end="")
print(s[4:])

# Buggy version:
s = input()
s = s[:4] + '  ' s[4:]
print(s)

# Fixed version:
s = input()
answer = s[:4] + ' ' + s[4:]
print(answer)

# Buggy version:
s = input()
print(S[:4]+' '+S[4:])

# Fixed version:
S = input()
print(S[:4] + " " + S[4:])