Write a program that sets 1 to the k
th bit of the N
. Display the resulting number.
Arithmetic operations cannot be used in the program, only bit operations must be used!
Input
Given an integer N
and a natural number k
.
Output
Display the number obtained after setting the given bit to 1.
Examples
Запрещенные операторы:+;-;*;/;%