by@drafear
WA
794ms
a,*b,c=open(0)
print(a+a*b+(c.rstrip()+"*"*99)[:a.find("T")+1]) T
K
Traceback (most recent call last):
File "/volume/CODE", line 2, in <module>
print(a+a*b+(c.rstrip()+"*"*99)[:a.find("T")+1])
TypeError: can't multiply sequence by non-int of type 'list'