k=int(input());print(50,*[k//50+i+(i+k%50>49)for i in range(50)])
3b861e73e98129869ee483a1488c36a324acb04f
<mask token>

<mask token>
print(50, *[(k // 50 + i + (i + k % 50 > 49)) for i in range(50)])

k = int(input())
print(50, *[(k // 50 + i + (i + k % 50 > 49)) for i in range(50)])

k=int(input());print(50,*[k//50+i+(i+k%50>49)for i in range(50)])