You are given a 16-bit register (uint16_t).
Your task is to:
Example-1
Input: 44 // Binary: 0000000000101100
Output: 32 // Binary: 0000000000100000
Example-2
Input: 512 // Binary: 0000001000000000
Output: 512 // Binary: 0000001000000000
Example-3
Input: 255 // Binary: 0000000011111111
Output: 128 // Binary: 0000000010000000
Input
44
Expected Output
32