Олимпиадный тренинг

Задача 44570. 2^k


Задача

Темы: Битовые операции

Write a program that, given a number k (0 <= k <= 31), displays the number 2k , that is, a number whose k-th bit is 1, and the rest are  zeros.

Arithmetic operations cannot be used in the program, only bit operations must be used!
 

Examples
# Input Output
1 5 32

Запрещенные операторы:+;-;*;/;%