a=list(input()) b=int(input()) c=float(input()) d=float(input()) for i in range(len(a)): print(a[i],end="") print("",b,c,d)