Problem Description

Input has two integers x and k are provided (k>=0). Output floor(x / (2^k)) using right shift (for non-negative x).

Input Format

One line: x k.

Output Format

One integer result.

Sample Test Case

Input:
57 3
Output:
7

Constraints

0

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next