@@ -0,0 +1,357 @@
+//2008 - 4%0A%0Aimport java.util.*;%0A%0Apublic class NextPermutation %7B%0A%0A  public static void main(String%5B%5D args)%7B%0A  %0A    Scanner input = new Scanner(System.in);%0A    Scanner inputString = new Scanner(System.in);%0A    int times = input.nextInt();%0A    %0A    for(int i = 0; i %3C times; i++)%7B%0A      %0A      String rawIn = inputString.nextLine();%0A      %0A    %7D%0A    %0A  %7D%0A  %0A%7D%0A

Create NextPermutation.java