@@ -0,0 +1,487 @@
+import java.util.Scanner;%0A%0Apublic class Main %7B%0A    public static void main(String%5B%5D args) %7B%0A        Scanner scanner = new Scanner(System.in);%0A        String input = scanner.nextLine();%0A%0A        if (input.length() %3C 20) %7B%0A            System.out.print(input);%0A            for (int i = input.length(); i %3C 20; i++) %7B%0A                System.out.print(%22*%22);%0A            %7D%0A        %7D%0A%0A        if (input.length() %3E 20) %7B%0A            System.out.println(input.substring(0, 20));%0A        %7D%0A    %7D%0A%7D%0A

Create 18.FitStringIn20Chars.java