def main(): N, H = map(int, input().split()) T = list(map(int, input().split())) print(*map(lambda num: num + H, T)) if __name__ == "__main__": main()