def main(): N, H = map(int, input().split()) T = map(int, input().split()) print(' '.join(map(str,[i + H for i in T]))) if __name__ == '__main__': main()