Problem:
Score : 200 points

Problem Statement

Given is a string S. Replace every character in S with x and print the result.

Constraints

S is a string consisting of lowercase English letters.

The length of S is between 1 and 100 (inclusive).

Input

Input is given from Standard Input in the following format:

S

Output

Replace every character in S with x and print the result.

Sample Input 1

sardine

Sample Output 1

xxxxxxx

Replacing every character in S with x results in xxxxxxx.

Sample Input 2

xxxx

Sample Output 2

xxxx

Sample Input 3

gone

Sample Output 3

xxxx

Solution in Java (OpenJDK 11.0.6) (judge verdict: Accepted)

import java.util.Scanner;

/**
 * B - I miss you...
 * 文字列 S が与えられます。
 * S のすべての文字を x で置き換えて出力してください。
 */
public class Main {

    public static void main( String[] args ) {

        Scanner sc = new Scanner( System.in );
        // 入力値
        String s = sc.next();   // 英小文字のみからなる文字列

        StringBuilder reseult = new StringBuilder();
        for( int i = 0; i < s.length(); i++ ) {
            reseult.append( "x" );
        }

        System.out.println( reseult );

        sc.close();
    }
}