Program worked with N=10
Program worked with N=10