Raj wants to make a diamond using his program. But he wants to use some string of length n to make them. The diagonal starts at the top and goes clockwise. The diagonal has one character in each position which is taken from the string. Can you help raj with his diagonal?
4 < n < 2^10
n is multiple of 4
String S
Length of string followed be newline
Diagonal of the given string