How to print array of numbers given i and j? Such that some of all elements of i is equal to j : Given number i and j.
Print an array of length i such that the sum of all the elements in array is equal j.

input:
  i = 5 ;
  j = 27;
Output:
      6
      6
      5
      5
      5