Overview

The app will give the following o/p

prayag@prayag ~/pascal $ java Pascal 4 1 1 1 1 2 1 1 3 3 1