Click Here to go back to the homepage.

Soylent Solution:


import java.util.*;

public class Kattis {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int cases = sc.nextInt();
        for(int i = 0; i < cases; i++)
            System.out.println((int)Math.ceil(sc.nextInt()/400.0));
    }
}