T, N, M = map(int, input().split()) for week in range(1, T + 1): if week == 1: L_list = [(M // 500) // 10 for _ in range(N)] print(1, end = " ", flush = True) print(*L_list, flush = True) else: L_list = [0 for _ in range(N)] for i in range(N): if i == Except_shop: continue else: L_list[i] = (M // 500) // 9 print(1, end = " ", flush = True) print(*L_list, flush = True) M = int(input()) S = list(map(int, input().split())) # 各店舗のその週の売り上げ冊 P = list(map(int, input().split())) # 各店舗のその時点での人気度 R = list(map(int, input().split())) # 各店舗での在庫冊数 Except_shop = None # 0-9 min_S = 10**20 for i in range(N): if min_S > S[i]: min_S = S[i] Except_shop = i """ No1_P_shop = None # 0-9 No1_R_shop = None max_P = -100 min_R = 1000 for i in range(N): if max_P < P[i]: max_P = P[i] No1_P_shop = i if min_R > R[i]: min_R = R[i] No1_R_shop = i """