when i run this code it works perfectly fine but when i verify it, it doesnt get verified and doesnt show any error.. whats the problem?
package com.codegym.task.task06.task0622;
import java.io.BufferedReader;
import java.io.InputStreamReader;
/*
Ascending numbers
*/
public class Solution {
public static void main(String[] args) throws Exception {
BufferedReader r = new BufferedReader(new InputStreamReader(System.in));
int a= Integer.parseInt(r.readLine());
int b= Integer.parseInt(r.readLine());
int c= Integer.parseInt(r.readLine());
int d= Integer.parseInt(r.readLine());
int e= Integer.parseInt(r.readLine());
int count=0;
for(int i=0;count!=5;i++){
if(i==a || i==b || i==c || i==d ||i==e ){
System.out.println(i);
count++;
}
}
}
}