class str(str): def __mul__(__________): if isinstance(other, str) and len(other) == len(self): # 交替合并字符串 return ''.join([self[i] + other[i] for i in range(len(self))]) else: return __________ # 调用父类的乘法操作 s1 = str(input()) s2 = str(input()) print(s1 * s2) print(s1 * len(s2))