@@ -0,0 +1,383 @@
+import java.util.Scanner;%0Aclass HalloweenParty%7B%0A    static long getValue(long n)%7B%0A        if(n%252==0)return (n/2)*(n/2);%0A        else return (n/2)*(n/2+1);%0A    %7D%0A    public static void main(String args%5B%5D)%7B%0A        Scanner sc=new Scanner(System.in);%0A        int tc=sc.nextInt();%0A        for(int i=0;i%3Ctc;i++)%7B%0A            System.out.println(getValue(sc.nextLong()));%0A        %7D%0A    %7D%0A%7D%0A

Create HalloweenParty.java