/* package whatever; // don't place package name! */

import java.util.*;
import java.lang.*;
import java.io.*;

/* Name of the class has to be "Main" only if the class is public. */
class Ideone
{
	public static int randomInt(int low, int high)
    {
    	double e;
    	double x=Math.random();
        e=low+x*(high-low);
    	return (int)e;
    }

	public static int[] randomIntArray(int n)
    {
    	int[] a=new int[n];
    	for(int i=0;i<a.length;i++)
        {
        	a[i]=randomInt(-5,15);//"-5&15 are the lower and upper bounds of the random number array
        }
    	return a;
	}
    	
	public static void main (String[] args) throws java.lang.Exception
	{
		int[] array = randomIntArray(5);
		for(int i = 0; i < array.length; i++)
		{
			System.out.println(array[i]);
		}
	}
}