This was related to a program I am writing. Although the title is simple, the challenge is a lot more complicated.
You must write a program that takes an input, and your answer must match the sample outputs in this question.
What the program should be is that you must output "HelloWorld" with the length of the input matching the length of what you output. If the input's length is not divisible with 10, you should cut off the last few letters until it matches the length of the last few letters of the input. More clarification in the examples.
Standard loopholes apply, except that answers should be full programs, and the input has to be printable ASCII.
Input:how are you Output:HelloWorldH Note: In the above example, there is an extra H due to the characters in the input being 11, so we add an extra letter Input:hrienehwnv Output:HelloWorld Input:kill him at dawn Output:HelloWorldHelloW
This is code-golf, so shortest answer wins!
Steffan won the first +50 bounty reputation award for 5 bytes. I know lyxal also had a 5 bytes with the same language, but previously he had his answer with 8 bytes, before he shortened it to 5 bytes, but after Steffan's answer had already been posted.