Word codeforces solution in java. Your task is to capitalize the given word.