The function x << (x & 1) is a left shift by a variable amount but is right-to-left computable. What is going on? Find another such function.

Analyze the the function x << (x & 1) is a left shift by a variable amount but is right-to-left computable. what is going on? find another such function..

Examples
Input: "test_input_1"
Output: "output_1"
Hints

The function x << (x & 1) is a left shift by a variable amount but is right-to-left computable. What is going on? Find another such function.

Analyze the the function x << (x & 1) is a left shift by a variable amount but is right-to-left computable. what is going on? find another such function..