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



Sample input:
sardine


Sample output:
xxxxxxx

Submission status: Accepted

Solution code:
s = input()
n = len(s)
str = ''
for _ in range(n):
  str += 'x'

print(str)

Submission status: Accepted

Solution code:
N = str(input())
a=len(N)
a
print('x'*a)

Submission status: Accepted

Solution code:
s = input()
ans = ''
for i in range(len(s)):
  ans+='x'
print(ans)

Submission status: Accepted

Solution code:
S = input()
S = 'x'*len(S)
print(S)

Submission status: Accepted

Solution code:
s = input()
ans = ''
for i in range(len(s)):
    ans = ans + 'x'
print(ans)

Submission status: Accepted

Solution code:
S = input()
result = ''
for _ in range(len(S)):
    result += 'x'
print(result)

Submission status: Accepted

Solution code:
import sys
sys.setrecursionlimit(10**7) #再帰関数の上限,10**5以上の場合python
import math
from copy import copy, deepcopy
from copy import deepcopy as dcp
from operator import itemgetter
from bisect import bisect_left, bisect, bisect_right#2分探索
#bisect_left(l,x), bisect(l,x)#aはソート済みである必要あり。aの中からx未満の要素数を返す。rightだと以下
from collections import deque
#deque(l), pop(), append(x), popleft(), appendleft(x)
##listでqueの代用をするとO(N)の計算量がかかってしまうので注意
from collections import Counter#文字列を個数カウント辞書に、
#S=Counter(l),S.most_common(x),S.keys(),S.values(),S.items()
from itertools import accumulate,combinations,permutations#累積和
#list(accumulate(l))
from heapq import heapify,heappop,heappush
#heapify(q),heappush(q,a),heappop(q) #q=heapify(q)としないこと、返り値はNone
#import fractions#古いatcoderコンテストの場合GCDなどはここからimportする
from functools import lru_cache#pypyでもうごく
#@lru_cache(maxsize = None)#maxsizeは保存するデータ数の最大値、2**nが最も高効率
from decimal import Decimal

def input(): 
    x=sys.stdin.readline()
    return x[:-1] if x[-1]=="\n" else x
def printl(li): _=print(*li, sep="\n") if li else None
def argsort(s, return_sorted=False): 
    inds=sorted(range(len(s)), key=lambda k: s[k])
    if return_sorted: return inds, [s[i] for i in inds]
    return inds
def alp2num(c,cap=False): return ord(c)-97 if not cap else ord(c)-65
def num2alp(i,cap=False): return chr(i+97) if not cap else chr(i+65)
def matmat(A,B):
    K,N,M=len(B),len(A),len(B[0])
    return [[sum([(A[i][k]*B[k][j]) for k in range(K)]) for j in range(M)] for i in range(N)]
def matvec(M,v):
    N,size=len(v),len(M)
    return [sum([M[i][j]*v[j] for j in range(N)]) for i in range(size)]
def T(M):
    n,m=len(M),len(M[0])
    return [[M[j][i] for j in range(n)] for i in range(m)]
def main():
    mod = 1000000007
    #w.sort(key=itemgetter(1),reversed=True)  #二個目の要素で降順並び替え

    #N = int(input())
    #N, K = map(int, input().split())
    #A = tuple(map(int, input().split())) #1行ベクトル
    #L = tuple(int(input()) for i in range(N)) #改行ベクトル
    #S = tuple(tuple(map(int, input().split())) for i in range(N)) #改行行列
    s=input()
    print('x'*len(s))





if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
s = input()
ans = ''
for _ in range(len(s)):
    ans += 'x'
print(ans)

Submission status: Accepted

Solution code:
s=input()
n=len(s)
print('x'*n)

Submission status: Accepted

Solution code:
S = list(input())
for i in range(len(S)):
  S[i] = "x"
print("".join(S))

Submission status: Accepted

Solution code:
n = len(input())
print('x'*n)

Submission status: Accepted

Solution code:
n = input()
print("x"*len(n))

Submission status: Accepted

Solution code:
s = input()
print("x"*(len(s)))

Submission status: Accepted

Solution code:
s = str(input())
print("x" * len(s))

Submission status: Accepted

Solution code:
def solve():
    S = input()
    print('x'*len(S))

if __name__ == '__main__':
    solve()

Submission status: Accepted

Solution code:
l = len(input())
print("".join(["x" for x in range(l)]))

Submission status: Accepted

Solution code:
s=len(input());print('x'*s)

Submission status: Accepted

Solution code:
S = input()
length = len(S)
print("x"*length)

Submission status: Accepted

Solution code:
S = input()
 
S_len = len(S)
 
print("x" * S_len)

Submission status: Accepted

Solution code:
S = input()
for i in range(len(S)):
  print('x', end='')

Submission status: Accepted

Solution code:
s = input()
for i in range(len(s)):
    print('x', end='')

Submission status: Accepted

Solution code:
S = str(input())

L = len(S)

ans = "x" * L

print(ans)

Submission status: Accepted

Solution code:
s = input()
a = []

for i in range(len(s)):
    a.append('x')

print(''.join(a))

Submission status: Accepted

Solution code:
S =input()

print("x"* len(S))

Submission status: Accepted

Solution code:
S = str(input())
print('x'*len(S))

Submission status: Accepted

Solution code:
S=input()
l=len(S)

X='x'*l
X=str(X)

print(X)

Submission status: Accepted

Solution code:
S = input()
N = len(S)
ans = ["x" for i in range(N)]
print(*ans, sep="")

Submission status: Accepted

Solution code:
s=len(input())
print('x'*s)

Submission status: Accepted

Solution code:
def main():
    s = input()
    slen = len(s)
    a = ""
    for i in range(slen):
        a += "x"
    print(a)


    
if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
S = input()
length = len(S)
print('x' * length)

Submission status: Accepted

Solution code:
s=input()
n=len(s)
ans=[]
for i in range(n):
  ans.append("x")
print("".join(ans))

Submission status: Accepted

Solution code:
s = input()
a = []
for i in range(len(s)):
    a.append('x')
print(''.join(a))

Submission status: Accepted

Solution code:
str = input()
ans = ""
for i in range(len(str)):
  ans += "x"
print(ans)

Submission status: Accepted

Solution code:
n = len(input())
print("x" * n)

Submission status: Accepted

Solution code:
import sys

def II(): return int(input())
def MI(): return map(int,input().split())
def LI(): return list(map(int,input().split()))
def TI(): return tuple(map(int,input().split()))
def RN(N): return [input().strip() for i in range(N)]


def main():
    S = input()
    Snum = len(S)
    a = "x"*Snum
    print(a)


if __name__ == "__main__":
	main()

Submission status: Accepted

Solution code:
n = len(input())
for i in range(n):
    print("x",end="")

Submission status: Accepted

Solution code:
# Vicfred
# https://atcoder.jp/contests/abc154/tasks/abc154_b
# simulation
s = input()

answer = 'x'*len(s)

print(answer)

Submission status: Accepted

Solution code:
s=input()

l = len(s)

print('x'*l)

Submission status: Accepted

Solution code:
s = input()
x = 'x' * len(s)
print(x)

Submission status: Accepted

Solution code:
S=input()
S_len=len(S)
K=''
for i in range(S_len):
  K+='x'
  
print(K)

Submission status: Accepted

Solution code:
S = input()
ans = ""
for i in range(len(S)):
    ans += "x"

print(ans)

Submission status: Accepted

Solution code:
"""
N = list(map(int,input().split()))
S = [str(input()) for _ in range(N)]
S = [list(map(int,list(input()))) for _ in range(h)] 
print(*S,sep="")
"""

import sys
sys.setrecursionlimit(10**6)
input = lambda: sys.stdin.readline().rstrip()
inf = float("inf") # 無限

s = len(input())
print("x"*s)

Submission status: Accepted

Solution code:
s = input()
n = len(s)

print("x" * n)

Submission status: Accepted

Solution code:
T=input()
S=[]
for i in range(len(T)):
    S.append("x")
ans="".join(S)
print(ans)

Submission status: Accepted

Solution code:
import sys
input = lambda: sys.stdin.readline().rstrip()

def main():
    s = list(input())
    print('x'*len(s))

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
S = input()
l = 'x' * len(S)
print(l)

Submission status: Accepted

Solution code:
def actual(s):
    return 'x' * len(s)

s = input()
print(actual(s))

Submission status: Accepted

Solution code:
S = input()
l = len(S)
a = ''
for i in range(len(S)):
    a = a + 'x'
print(a)

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
s=input()
print('x'*len(s))

Submission status: Accepted

Solution code:
s=input()
l=[]
for i in s:
  i = 'x'
  l.append(i)
print(('').join(l))

Submission status: Accepted

Solution code:
s = input()
a = ["x"]*len(s)
print("".join(a))

Submission status: Accepted

Solution code:
s = input().rstrip()
print('x' * len(s))

Submission status: Accepted

Solution code:
s = input()
print(s.replace(s, 'x' * len(s)))

Submission status: Accepted

Solution code:
import sys

input = lambda: sys.stdin.readline().rstrip()


def solve():
    n = len(input())
    ans = 'x' * n
    print(ans)


if __name__ == '__main__':
    solve()

Submission status: Accepted

Solution code:
S = list(input())

for i in S:
  print("x",end="")

Submission status: Accepted

Solution code:
S = input()
# 文字数分xにする
print('x' * len(S))

Submission status: Accepted

Solution code:
def main():
    s = list(input())

    for i in range(len(s)):
        s[i] = "x"

    L = "".join(s)
    print(L)


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
S = input()
print(len(S) * 'x')

Submission status: Accepted

Solution code:
def getN():
    return int(input())
def getNM():
    return map(int, input().split())
def getList():
    return list(map(int, input().split()))
def getArray(intn):
    return [int(input()) for i in range(intn)]
def input():
    return sys.stdin.readline().rstrip()
def rand_N(ran1, ran2):
    return random.randint(ran1, ran2)
def rand_List(ran1, ran2, rantime):
    return [random.randint(ran1, ran2) for i in range(rantime)]
def rand_ints_nodup(ran1, ran2, rantime):
  ns = []
  while len(ns) < rantime:
    n = random.randint(ran1, ran2)
    if not n in ns:
      ns.append(n)
  return sorted(ns)



from collections import defaultdict, deque, Counter
from sys import exit
from decimal import *
import heapq
import math
from fractions import gcd
import random
import copy
from itertools import permutations
from operator import mul
from functools import reduce
from bisect import bisect_left, bisect_right

import sys
sys.setrecursionlimit(1000000000)
mod = 10 ** 9 + 7


#############
# Main Code #
#############

s = input()
print('x' * len(s))

Submission status: Accepted

Solution code:
input = input()
str = ""
for i in range(len(input)):
    str += "x"
print(str)

Submission status: Accepted

Solution code:
import sys
import decimal # 10進法に変換，正確な計算

def input():
    return sys.stdin.readline().strip()

def main():
    s = list(input())
    for i in range(len(s)):
        print("x", end="")
    
    


    
main()

Submission status: Accepted

Solution code:
s = input()
n = len(s)
print('x'*n)

Submission status: Accepted

Solution code:
s=input()
sLength=len(s)

print('x'*sLength)

Submission status: Accepted

Solution code:
a=len(input())
print("x"*a)

Submission status: Accepted

Solution code:
S = input()

print("x"*len(S))

Submission status: Accepted

Solution code:
from functools import reduce
from fractions import gcd
import math
import bisect
import itertools
import sys
sys.setrecursionlimit(10**7)
input = sys.stdin.readline
INF = float("inf")


# 処理内容
def main():
    S = input()[:-1]
    print("x" * len(S))


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
s = input()

X = ['x' for i in range(len(s))]

print(''.join(X))

Submission status: Accepted

Solution code:
S = input()

X = ['x' for i in range(len(S))]

print(''.join(X))

Submission status: Accepted

Solution code:
S = input()
S = list(S)
x = 'x'
for i in range(len(S)):
    S[i] = x
print("".join(S))

Submission status: Accepted

Solution code:
s = input()

for i in range(len(s)):
    print("x", end="")

Submission status: Accepted

Solution code:
T=input()

for i in range(len(T)):
    T=T.replace(T[i],'x')
print(T)

Submission status: Accepted

Solution code:
s = input()
for _ in range(len(s)):
  print("x", end = "")

Submission status: Accepted

Solution code:
s = input()

l = len(s)
ans = 'x' * l
print(ans)

Submission status: Accepted

Solution code:
S = input()
s =''
for i in range(len(S)):
    s += 'x'

print(s)

Submission status: Accepted

Solution code:
s = input()
length = len(s)

ans = ''

for i in range(length):
    ans += 'x'

print(ans)

Submission status: Accepted

Solution code:
s = input()
t = len(s)
print('x'*t)

Submission status: Accepted

Solution code:
a=input()

for i in range(len(a)):
  print("x",end="")

Submission status: Accepted

Solution code:
s= input()
x = "x" * len(s)
print(x)

Submission status: Accepted

Solution code:
s = input()
print(len(s)*"x")

Submission status: Accepted

Solution code:
s = input()

print("x"*len(s))

Submission status: Accepted

Solution code:
s=input();print("x"*len(s))

Submission status: Accepted

Solution code:
# coding: utf-8
s = input()
print("x" * len(s))

Submission status: Accepted

Solution code:
# coding: utf-8
s = input()
ans = "x" * len(s)
print(ans)

Submission status: Accepted

Solution code:
s=input()
n=len(s)

for i in range(n):
    print("x",end="")
print("")

Submission status: Accepted

Solution code:
S = input()
print("{}".format(S.replace(S, 'x' * len(S))))

Submission status: Accepted

Solution code:
s = input()
ns = ''
for i in range(len(s)):
    ns += 'x'
print(ns)

Submission status: Accepted

Solution code:
import re

S = input()

print(re.sub('[a-z]', 'x', S))

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys

read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines


def main():
    S = readline().rstrip().decode()
    print('x' * len(S))


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
s = input()
ans = ["x"] * len(s)
print(*ans,sep="")

Submission status: Accepted

Solution code:
s = str(input())
c = len(s)
ans = ['x' for _ in range(c)]

out = ''.join(ans)
print(out)

Submission status: Accepted

Solution code:
s = input()

a = ''

for i in range(len(s)):
  a += 'x'

print(a)

Submission status: Accepted

Solution code:
s = input()
l = len(s)

print("x" * l)

Submission status: Accepted

Solution code:
s = str(input())

t = 'x'* len(s)
print(t)

Submission status: Accepted

Solution code:
s = len(input())
x = ''
for i in range(0, s):
  x += 'x'
print(x)

Submission status: Accepted

Solution code:
S = input()
for i in range(len(S)-1):
  print("x", end="")
print("x")

Submission status: Accepted

Solution code:
S = list(input())
n = len(S)
t = 'x'
for i in range(n-1):
  t += 'x'
print(t)

Submission status: Accepted

Solution code:
S = input()
N = len(S)
print('x'*N)

Submission status: Accepted

Solution code:
s = input()

print('x' * len(s))

Submission status: Accepted

Solution code:
s = input()

l = len(s)

ans = 'x' * l
print(ans)

Submission status: Accepted

Solution code:
S = input()
print(len(S) * 'x')

Submission status: Accepted

Solution code:
s = str(input())
S = list(s)
for i in range(len(S)):
    S.append('x')
    S.pop(0)
print(''.join(S))

Submission status: Accepted

Solution code:
#B
S=input()

print("x"*len(S))

Submission status: Accepted

Solution code:
n=input()
print("x"*len(n))

Submission status: Accepted

Solution code:
def resolve():
    s=len(input())
    print("x"*s)
resolve()

Submission status: Accepted

Solution code:
S = input()
r = "x" * len(S)
print(r)

Submission status: Accepted

Solution code:
s=input()
count=0
for i in s:
    count+=1
print('x'*count)

Submission status: Accepted

Solution code:
s = input()
aa = ""
for i in range(len(s)):
    aa += "x"
print(aa)

Submission status: Accepted

Solution code:
# -*- coding: <encoding name> -*-

s = input()
print('x' * len(s))

Submission status: Accepted

Solution code:
print('x' *len(input()))

Submission status: Accepted

Solution code:
s = input()
new = ''

for c in s:
    new += 'x'

print(new)

Submission status: Accepted

Solution code:
lenS = len(input())
print('x'*lenS)

Submission status: Accepted

Solution code:
s = input()
a = len(s)
print('x'*a)

Submission status: Accepted

Solution code:
m = str(input())

n = len(m)

x = "x" * n

print(x)

Submission status: Accepted

Solution code:
S = input()
ans = ''

for i in range(len(S)):
    ans += 'x'

print(ans)

Submission status: Accepted

Solution code:
s=input()
a=len(s)

print('x'*a)

Submission status: Accepted

Solution code:
S=input()
N=len(S)
print("x"*N)

Submission status: Accepted

Solution code:
s = str(input())

s_len = len(s)

print('x' * s_len)

Submission status: Accepted

Solution code:
s = input()
n = len(s)
for i in range(n):
    print('x',end='')

Submission status: Accepted

Solution code:
s = input()
ans = ''
for i in range(len(list(s))):
  ans += 'x'
print(ans)

Submission status: Accepted

Solution code:
S = str(input())
lst = ['x'] * len(S)
print(''.join(lst))

Submission status: Accepted

Solution code:
import sys

input = sys.stdin.readline


def main():
    S = input().rstrip()

    N = len(S)
    ans = "x" * N

    print(ans)


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
#154b
s = input()
x = 'x' * len(s)
print(x)

Submission status: Accepted

Solution code:
ni = lambda: int(input())
nm = lambda: map(int, input().split())
nl = lambda: list(map(int, input().split()))

s = input()

for i in range(len(s)):
  print('x',end='')

Submission status: Accepted

Solution code:
import sys
import math
from collections import deque
from collections import defaultdict

def main():
    s = list(input())
    print("x"*len(s))
    return 0

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
s = input()
l = len(s)
ans = ''
for i in range(l):
    ans += 'x'
print(ans)

Submission status: Accepted

Solution code:
print 'x' * len(raw_input())

Submission status: Accepted

Solution code:
S = input()
for i in range(len(S)):
  print("x", end = "")
print("")

Submission status: Accepted

Solution code:
s=list(input())
ss="x"*len(s)
print(ss)

Submission status: Accepted

Solution code:
n = len(input())
for i in range(n):
    print('x', end = '')

Submission status: Accepted

Solution code:
ans=['x']*len(input())
print(''.join(ans))

Submission status: Accepted

Solution code:
S = list(input())

print('x'*len(S))

Submission status: Accepted

Solution code:
s = input()
l = len(s)

for i in range(l):
    print('x' , end='')
print('')

Submission status: Accepted

Solution code:
s = input()
ans = 'x'*len(s)
print(ans)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
import sys

import fractions
import copy
import bisect
import math
import numpy as np
import itertools
from itertools import combinations_with_replacement
#import math#数学的計算はこれでいける。普通に0.5乗しても計算可能
#w=input()
from operator import itemgetter
from sys import stdin
#input = sys.stdin.readline#こっちの方が入力が早いが使える時に使っていこう
from operator import mul
from functools import reduce
from collections import Counter
#from collections import deque

#input = stdin.readline


j=0
k=0
n=3
r=1
a=[0]
#n=int(input())
#r=int(input())
#print(M)
#A=int(input())
#B=int(input())
#print(N)
"1行1つの整数を入力を取得し、整数と取得する"


#number_list=list(map(int, input().split(" ")))#数字の時
#print(number_list)
"12 21 332 とか入力する時に使う"
"1行に複数の整数の入力を取得し、整数として扱う"

'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
#メモ
for i in number_list:#こっちの方がrage使うより早いらしい
    print(number_list[i-1])#

'''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''

'''
x=[]
y=[]
for i in range(N):
    x1, y1=[int(i) for i in input().split()]
    x.append(x1)
    y.append(y1)
print(x)
print(y)
"複数行に2数値を入力する形式 x座標とy座標を入力するイメージ"
'''

'''
mixlist=[]
for i in range(N):
    a,b=input().split()
    mixlist.append((int(a),b))
print(mixlist)
"複数行にintとstrを複合して入力するやつ，今回はリスト一つで処理している"
'''

'''
#array=[input().split()for i in range(N)]
#print(type(array[0][0]))
#print(array)
"正方行列にstr型の値を入力"
'''

#brray=[list(map(int, input().split(" ")))for i in range(N)]
#print(type(brray[0][0]))
#print(brray)
'''
入力
1 2
4 5
7 8
出力結果
[[1, 2], [4, 5], [7, 8]]
'''
"列数に関して自由度の高いint型の値を入力するタイプの行列"
#以下に別解を記載
#N, M = [int(i) for i in input().split()]
'''
table = [[int(i) for i in input().split()] for m in range(m)]

print(type(N))
print(N)
print(type(M))
print(M)

print(type(table))
print(table)
'''




#s=input()
#a=[int(i) for i in s]
#print(a[0])
#print([a])
#単数値．桁ごとに分割したい．入力と出力は以下の通り
#イメージとして1桁ごとにリストに値を入れているかんじ
#intを取ると文字列分解に使える
'''
入力
1234
出力
1
[[1, 2, 3, 4]]
'''




'''
word_list= input().split(" ")
print(word_list[0])
"連続文字列の入力"
"qw er ty とかの入力に使う"
"入力すると空白で区切ったところでlistの番号が与えられる"
'''



'''
A, B, C=stdin.readline().rstrip().split()#str style 何個でもいけることが多い
print(A)
"リストではなく独立したstr型を入れるなら以下のやり方でOK"
'''


#a= stdin.readline().rstrip()
#print(a.upper())
"aという変数に入っているものを大文字にして出力"


#a,b=map(int, input().split())  #int style 複数数値入力　「A B」みたいなスペース空いた入力のとき

#なんかうまく入力されるけど
#a=[[int(i) for i in 1.strip()]for 1 in sys.stdin]
#a = [[int(c) for c in l.strip()] for l in sys.stdin]]
#print(a)
#複数行の数値を入力して正方行列を作成


##############################################################################################
##############################################################################################
#under this line explains example calculation



'''
コンビネーションの組み合わせの中身を出力する形式
for i in itertools.combinations(brray, 2)
combinationsをpermutationsにすれば順列になる
今回なら(abc133B)
入力
1 2
5 5
-2 8
出力
[[1, 2], [5, 5], [-2, 8]]
もちろん一次元リストでも使えるし
何よりiもリストのように使えるので便利
'''

#nCr combination
'''
def cmb(n,r):
    #When n < r , this function isn't valid
    r= min(n-r,r)
    #print(n,r)
    if r == 0: return 1
    over = reduce(mul, range(n, n-r, -1))
    #flochart mul(n,n-1)=x
    #next     mul(x,n-2)........(n-r+1,n-r)
    #mul read a,b and returns a*b

    under = reduce(mul, range(1, r+1))
    #print(over, under)
    #reduce is applied mul(1,2)=2
    #next   mul(2,3)=6
    #next   mul(6,4)=4.........last(r!,r+1)=r+1!

    return over // under
    #// is integer divide
    #calc example 5C2
    #over=5*4*3
    #under=3*2*1
a = cmb(n, r)
#print(a)
'''

'''
import itertools
from itertools import combinations_with_replacement

combinationについて
以下の違いを意識しよう
combinations() p, r 長さrのタプル列、ソートされた順で重複なし

combinations_with_replacement() p, r 長さrのタプル列、ソートされた順で重複あり


使用例 　　　　　　　　　　　                  出力　　
combinations('ABCD', 2)　　　　　　　　　　　　AB AC AD BC BD CD

combinations_with_replacement('ABCD', 2)　　 AA AB AC AD BB BC BD CC CD DD
'''



'''
#集計
#example
#a=[2,2,2,3,4,3,1,2,1,3,1,2,1,2,2,1,2,1]
#a=Counter(a)
for i in a.most_common(n):print(i)
#most_common()メソッドは、出現回数が多い要素順にCounterオブジェクトを並び替えます。
#引数にint型の数字nを設定した場合は、出現回数が高い上位ｎ個の要素を返します。
#何も設定しなければ、コンテナ型にあるすべての要素を出現回数の順番に並び替えたタプル型オブジェクトを返します。
#out put
#(2, 8)
 #(1, 6)
#(3, 3)
#(4, 1)
'''


#二部探索(binary search)
#A = [1, 2, 3, 3, 3, 4, 4, 6, 6, 6, 6]
#print(A)
#index = bisect.bisect_left(A, 5) # 7 最も左(前)の挿入箇所が返ってきている
#A.insert(index, 5)
#print(index)
#print(A)
'''
bisect.bisect_left(a, x, lo=0, h=len(a))
引数
a: ソート済みリスト
x: 挿入したい値
lo: 探索範囲の下限
hi: 探索範囲の上限
(lo, hiはスライスと同様の指定方法)
bisect_leftはソートされたリストaに対して順序を保ったままxを挿入できる箇所を探索します。leftが示す通り、aにすでにxが存在している場合は、挿入箇所は既存のxよりも左側になります。また、lo, hiを指定することで探索範囲を絞り込むことも可能です。デフォルトはaの全体が探索対象です。
'''

'''
素数の判定
'''


def is_prime(n):
    if n == 1: return False

    for k in range(2, int(np.sqrt(n)) + 1):
        #sqrt(n)+1以上は考えて約数はないので却下
        if n % k == 0:
            return False
            #割り切れたらFalse
    return True


'''
npのmaxとmaximumの違い
xs = np.array([1, -2, 3])
np.max(xs, 0)
この出力は3となります．[1, -2, 3]と0の4つの数字のうち，最も大きい値を出力します．

一方で，[max(1, 0), max(-2, 0), max(3, 0)]を出力したい時があります．
その時は，numpyのmaximum関数を用います．

xs = np.array([1, -2, 3])
np.maximum(xs, 0)  # [1, 0, 3]

'''

def factorial(x, mod=10**9+7):
    # x!
    # 階乗
    # ex) factorial(5) = 120
    tmp = 1
    for i in range(1, x+1):
        tmp = (tmp * i) % mod
    return tmp
    '''
    Basically, when you do a**d % n, you actually have to calculate a**d, which could be quite large.
    But there are ways of computing a**d % n without having to compute a**d itself, and that is what pow does.
    '''


########################################################################
########################################################################
#b2=a[:]  #1次元のときはコピーはこれで良い
#print(b2)

#a= [[0]*3 for i in range(5)] #2次元配列はこう準備、[[0]*3]*5だとだめ
#b3=copy.deepcopy(a)  #2次元配列はこうコピーする
#print(b3)

def main():

    steps=0
    state=0
    w=1
    j=0
    k=0
    #n=int(input())
    #a,b=map(int, input().split(" "))
    #nl=list(map(int, input().split(" ")))#数字の時
    s=input()
    a=[i for i in s]
    for i in range(len(s)):
        a[i]='x'
    print(''.join(a))
    #a=[int(i) for i in s]#int取るとstrでも行ける
    #print(a)
    #brray=[list(map(int, input().split(" ")))for i in range(N)
    #print(brray)


    for i in range(1,n+1,2):#これで1個飛ばしループになる
     pass
     #print(i)


    #if state in known_states and not flag: # state => 2 steps => 5
        #こうやってある要素がリストの中にあるか探すのか
    #print(f'steps: {steps}, state: {state}')
    #こう書いてあるとデバックしやすい

    #dp= [[0]*3 for i in range(5)]#列　行
    #dp用の0の入ったやつ
    #dp= [[0]*(w+1) for i in range(n+1)]#0からwまでのw+1回計算するから
    #print(dp)＃初期条件が入る分計算回数+1列分必要(この場合は判断すべきものの数)
    DP = np.zeros(w+1, dtype=int)#これでも一次元リストが作れる
    exdp=np.zeros((3,4)) # ３×４の２次元配列を生成。2次元ならこう
    #dtypeは指定しないとfloatになる
    #for i in range(n):#ちょっとした入力に便利
    #    a, b = map(int, input().split())
        #dp[i][0] += [a]
        #これだとintとlistをつなぐことになって不適
    #    dp[i] += [a]
    #    dp[i] += [b]
        #これはうまくいく
        #やり方はいろいろあるということ
    #print(dp)


    #brray=[list(map(int, input().split(" ")))for i in range(N)
    #print(brray)



    '''
    入力
    1234
    出力
    [1, 2, 3, 4]
    '''
    pin_l=["x" for i in range(10)]#内包表記に慣れろ
    #print(pin_l)

    ls = ["a", "b", "c", "d", "e"]


    #print(ls[2:5])
    #スライスでの取得

    #print(ls[:-3])
    #一番左端から右から3番目より左まで取得

    #print(ls[:4:2])
    #スライスで1個飛ばしで取得
    #ないときは左端スタート
    #始点のインデックス番号 : 終点のインデックス番号 : スキップする数+1
    #print(ls[::2])
    '''
    lsというリストの場合に、1つ飛びの値を取得したい場合には
    ls[::2]
    のようにします。こうすると、
    ["a", "c", "d"]と出力される
    '''

if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
s=str(input())
s=list(s)
ans=["x"]*len(s)
ans="".join(ans)
print(ans)

Submission status: Accepted

Solution code:
# ABC154B

def f(s):
    n = len(s)
    print(''.join(['x']*n))


s = input()

f(s)

Submission status: Accepted

Solution code:
import sys, bisect, math, itertools, heapq, collections
from operator import itemgetter
# a.sort(key=itemgetter(i)) # i番目要素でsort
from functools import lru_cache
# @lru_cache(maxsize=None)
sys.setrecursionlimit(10**8)
input = sys.stdin.readline
INF = float('inf')
mod = 10**9 + 7
eps = 10**-7


def inp():
    '''
    一つの整数
    '''
    return int(input())


def inpl():
    '''
    一行に複数の整数
    '''
    return list(map(int, input().split()))


s = input()
print("".join(["x" for _ in range(len(s) - 1)]))

Submission status: Accepted

Solution code:
from sys import stdin, setrecursionlimit


def main():
    input = stdin.buffer.readline
    s = list(input()[:-1])
    print('x' * len(s))


if __name__ == "__main__":
    setrecursionlimit(10000)
    main()

Submission status: Accepted

Solution code:
import sys
input = sys.stdin.readline


def main():
    S = input().strip()
    answer = []
    for _ in S:
        answer.append("x")
    print("".join(answer))


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
s = input()
length = len(s)
answer = ""
for i in range(length):
    answer += "x"
print(answer)

Submission status: Accepted

Solution code:
s = input()
ans = ''

for i in range(len(s)):
    ans += 'x'

print(ans)

Submission status: Accepted

Solution code:
S=input()
s=len(S)
print("x"*s)

Submission status: Accepted

Solution code:
s = input()
t = ''

for i in range(len(s)):
  t += 'x'
  
print(t)

Submission status: Accepted

Solution code:
S=list(input())

for i in range(len(S)):
    S[i]='x'
s=''    
for i in range(len(S)):
    s+=S[i]
print(s)

Submission status: Accepted

Solution code:

s = input()
t = []
for i in range(len(s)):
    t.append("x")
strT = "".join(t)
print(strT)

Submission status: Accepted

Solution code:
S = list(input())

i=0
while i<len(S):
    S[i]="x"
    i+=1

print("".join(S))

Submission status: Accepted

Solution code:
S = input()

n = len(S)

ans = ""
for i in range(n):
    ans += "x"

print(ans)

Submission status: Accepted

Solution code:
s = list(input())

ls = ["x"] * len(s)

print(''.join(ls))

Submission status: Accepted

Solution code:
input_line = input()
print("x" * len(input_line))

Submission status: Accepted

Solution code:
S=list(input())

X=[]
for e in S:
    X.append("x")

print("".join(X))

Submission status: Accepted

Solution code:
s = input()
t = "x"
for i in range(len(s)-1):
  t += "x"

print(t)

Submission status: Accepted

Solution code:
s = len(input())
res = "x"*s
print(res)

Submission status: Accepted

Solution code:
a = input()
b = len(a)
for i in range(b):
    print("x",end = "")

Submission status: Accepted

Solution code:
S = input()
result = ['x' for x in range(len(S))]
print(''.join(result))

Submission status: Accepted

Solution code:
S = input()
K = len(S)
print('x'*K)

Submission status: Accepted

Solution code:
import fileinput

s = input()

print("x" * len(s))

Submission status: Accepted

Solution code:
S = input()

print(['x'*len(S)][0])

Submission status: Accepted

Solution code:
S=input()
l=len(S)
nS='x'*l
print(nS)

Submission status: Accepted

Solution code:
S=list(input())
L=len(S)
print("x"*L)

Submission status: Accepted

Solution code:
print('x'*len(input()))

Submission status: Accepted

Solution code:
s = input()
ans = ['x' for i in range(len(s))]
print(''.join(ans))

Submission status: Accepted

Solution code:
s = str(input())
n = len(s)
print('x'*n)

Submission status: Accepted

Solution code:
strings = input()
after = ""

for i in range(len(strings)):
    after += "x"

print(after)

Submission status: Accepted

Solution code:
s = input()
c = len(s)
print('x' * c)

Submission status: Accepted

Solution code:
x = input()

L = [0]*len(x)

for i in range(0,len(x)):
  L[i] = "x"

L=''.join(L)
print(L)

Submission status: Accepted

Solution code:
S = input()

a = len(S)

c = 'x'*a

print(c)

Submission status: Accepted

Solution code:
s = input()
ans = ''
for i in range(len(s)):
    ans += 'x'
print(ans)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Fri May  8 14:21:12 2020

@author: shinba
"""

s = input()

print("x"*(len(s)))

Submission status: Accepted

Solution code:
# input
S = input()

print('x' * len(S))

Submission status: Accepted

Solution code:
s = input()

print("x" * len(s))

Submission status: Accepted

Solution code:
lst = list(input())
for i in range(len(lst)):
  lst[i] = "x"
print("".join(lst))

Submission status: Accepted

Solution code:
S = input()
X = ""
for i in range(len(S)):
    X = X +"x"
print(X)

Submission status: Accepted

Solution code:
s=input()
res =''
for i in range(len(s)):
    res += 'x'
print(res)

Submission status: Accepted

Solution code:
def solve():
    S = len(input())
    print(S * "x")


if __name__ == '__main__':
    solve()

Submission status: Accepted

Solution code:
from sys import stdin, setrecursionlimit


def main():
    s = stdin.readline()[:-1]

    print('x' * len(s))


if __name__ == "__main__":
    setrecursionlimit(10000)
    main()

Submission status: Accepted

Solution code:
s = input()

X = ["x" for _ in range(len(s))]
print("".join(X))

Submission status: Accepted

Solution code:
s=input()
cnt=len(s)
print("x"*cnt)