'use strict'

const main = input => {
	const args = input.split('\n').map(arg => arg.split(' '))
	const s = args[0][0]
	console.log(`${s.slice(0, 4)} ${s.slice(4, 12)}`)
}

main(require('fs').readFileSync('/dev/stdin', 'utf8'))
