Problem: Problem Statement 
Unseen gang is the team of most wanted criminal. Unseen gang has planted bombs in different street and corner of the city. Gang members are sitting in the other part of the city, far away from the bomb site. They are controlling the bomb by sending the activation signal in the form of encrypted code.The Enigma crew has found the solution for the encrypted code. They came to know that the code is in the form of string S. Dividing the string up to its length L into many substrings of length N will give them the location of the bomb site.

Your job is to help the Enigma crew in finding the decrypted code. So, they can track the bomb site.

Input Format
The first line contain a string S.
In the second line integer N the length of the substring is given.

Output Format
Output line contain the total number of substrings each in new line.

Constraints 
1 ≤ L ≤ 10000
1 ≤ N=20

SAMPLE INPUT
Vhaveplanted bomb @allthe location intheCITY.
8

SAMPLE OUTPUT
Vhavepla
nted bom
b @allth
e locati
on inthe
CITY.

Solution (in PYTHON):

Solution:
s = raw_input()
n = (int)(raw_input())
o = ""
l = len(s)

for i in xrange(l):
    if (i % n) == 0:
        o=o+'\n'
        o = o+s[i]
    else:
        o = o+s[i]

print o