Bit value#5317

Bit value

1 sekondë
64 megabajt
Shumë e lehtë

Given two integers and . Print the value of the -th bit (starting from the least significant bit and counting from zero) of the number . The answer is either 0 or 1.

Hyrja

Two integers and (0 \leq a \leq 10^9) are given in a single line.

Dalja

Print the value of the -th bit of .

Shembuj

Shembulli 1

Loading
Loading