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 C (GCC 5.4.1) (judge verdict: Accepted)

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <math.h>
int main(void){
   int i,count=0;
   char dummy[110],S[110];
   
   for(i=0;i<110;i++){
       dummy[i]=0;
       S[i]=0;
   }
   
  for(i=0;i<110;i++){
    scanf("%s",&dummy[i]);
 if(dummy[i]!=NULL){
 S[i]=dummy[i];
 count++;
 }
  }
  
  for(i=0;i<count;i++)
      S[i]='x';

   printf("%s\n",S);
    return 0;
}