@@ -0,0 +1,2250 @@
+import java.util.Scanner;%0A%0Apublic class Sample %7B%0A%0A    private static final String%5B%5D WEIGHT_CLASS_NAMES = %7B%22light fly%22, %22fly%22, %22bantam%22, %22feather%22, %22light%22, %22light welter%22, %22welter%22, %22light middle%22, %22middle%22, %22light heavy%22, %22heavy%22%7D;%0A    private static final double%5B%5D WEIGHT_CLASS_DIVISIONS = %7B48.0, 51.0, 54.0, 57.0, 60.0, 64.0, 69.0, 75.0, 81.0, 91.0%7D;%0A%0A    public static void main(String%5B%5D args) %7B%0A%0A        Scanner sc = new Scanner(System.in);%0A%0A        while (sc.hasNext()) %7B%0A%0A            double weight = sc.nextDouble();%0A            String weightClassName;%0A%0A            if (weight %3C= WEIGHT_CLASS_DIVISIONS%5B0%5D) %7B%0A                weightClassName = WEIGHT_CLASS_NAMES%5B0%5D;%0A            %7D else if (weight %3E WEIGHT_CLASS_DIVISIONS%5B0%5D && WEIGHT_CLASS_DIVISIONS%5B1%5D %3E= weight) %7B%0A                weightClassName = WEIGHT_CLASS_NAMES%5B1%5D;%0A            %7D else if (weight %3E WEIGHT_CLASS_DIVISIONS%5B1%5D && WEIGHT_CLASS_DIVISIONS%5B2%5D %3E= weight) %7B%0A                weightClassName = WEIGHT_CLASS_NAMES%5B2%5D;%0A            %7D else if (weight %3E WEIGHT_CLASS_DIVISIONS%5B2%5D && WEIGHT_CLASS_DIVISIONS%5B3%5D %3E= weight) %7B%0A                weightClassName = WEIGHT_CLASS_NAMES%5B3%5D;%0A            %7D else if (weight %3E WEIGHT_CLASS_DIVISIONS%5B3%5D && WEIGHT_CLASS_DIVISIONS%5B4%5D %3E= weight) %7B%0A                weightClassName = WEIGHT_CLASS_NAMES%5B4%5D;%0A            %7D else if (weight %3E WEIGHT_CLASS_DIVISIONS%5B4%5D && WEIGHT_CLASS_DIVISIONS%5B5%5D %3E= weight) %7B%0A                weightClassName = WEIGHT_CLASS_NAMES%5B5%5D;%0A            %7D else if (weight %3E WEIGHT_CLASS_DIVISIONS%5B5%5D && WEIGHT_CLASS_DIVISIONS%5B6%5D %3E= weight) %7B%0A                weightClassName = WEIGHT_CLASS_NAMES%5B6%5D;%0A            %7D else if (weight %3E WEIGHT_CLASS_DIVISIONS%5B6%5D && WEIGHT_CLASS_DIVISIONS%5B7%5D %3E= weight) %7B%0A                weightClassName = WEIGHT_CLASS_NAMES%5B7%5D;%0A            %7D else if (weight %3E WEIGHT_CLASS_DIVISIONS%5B7%5D && WEIGHT_CLASS_DIVISIONS%5B8%5D %3E= weight) %7B%0A                weightClassName = WEIGHT_CLASS_NAMES%5B8%5D;%0A            %7D else if (weight %3E WEIGHT_CLASS_DIVISIONS%5B8%5D && WEIGHT_CLASS_DIVISIONS%5B9%5D %3E= weight) %7B%0A                weightClassName = WEIGHT_CLASS_NAMES%5B9%5D;%0A            %7D else %7B%0A                weightClassName = WEIGHT_CLASS_NAMES%5B10%5D;%0A            %7D%0A%0A            System.out.println(weightClassName);%0A%0A        %7D%0A%0A    %7D%0A%0A%7D%0A

Create : 0048