import java.util.*; public class Main{
public static void main(String[] args){
Scanner scn = new Scanner(System.in); int test = scn.nextInt(); while(test > 0){ long n = scn.nextLong(); if(n < 6){ System.out.println(15); continue; } if(n % 2 != 0){ n = n +1; } System.out.println((long)(n * 2.5)); test--; }
}
}
Don't know if you still need help but your continue statement in the if statement is making it skip the test --, so the while loop keeps going even after all the input is read.