#include <stdio.h>
#include <iostream>
#include <string>
using namespace std;
int main(void) {
unsigned short t1=0x8000;
short temp = (short) t1 >>6;
printf("Result = \%hx \n",temp);
printf("Try programiz.pro");
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CiNpbmNsdWRlIDxpb3N0cmVhbT4KI2luY2x1ZGUgPHN0cmluZz4KCnVzaW5nIG5hbWVzcGFjZSBzdGQ7CgppbnQgbWFpbih2b2lkKSB7CiAgICB1bnNpZ25lZCBzaG9ydCB0MT0weDgwMDA7CiAgICBzaG9ydCB0ZW1wID0gKHNob3J0KSB0MSA+PjY7CiAgICBwcmludGYoIlJlc3VsdCA9IFwlaHggXG4iLHRlbXApOwogICAgcHJpbnRmKCJUcnkgcHJvZ3JhbWl6LnBybyIpOwoKICAgIHJldHVybiAwOwp9Cg==