How to store Values Num1, Num2 and Num3 in array and how to iterate over them using for loop PLEASE DO NOT USE SCANNER

public class PosNeg {
    public static void main(String[] args) throws Exception {

        int count = 0;

        BufferedReader reader = new BufferedReader(new InputStreamReader(;

        String a = reader.readLine();
        int num1 = Integer.parseInt(a);

        String b = reader.readLine();
        int num2 = Integer.parseInt(b);

        String c = reader.readLine();
        int num3 = Integer.parseInt(c);

        int arr[i] = new int[3];

        for(int i=0;i<3;i++){

        	if (arr[i]>0)