title: Find Value Of Y Mod 2 Raised To Power X
signature: def find_value_of_y_mod_2_raised_to_power_x(y, x):
source_py: def find_value_of_y_mod_2_raised_to_power_x(y, x):
      return (y % pow(2, x))
source_cpp: long long int find_value_of_y_mod_2_raised_to_power_x(long long int y, long long int x) {
    if ( log2 ( y ) < x ) return y;
    if ( x > 63 ) return y;
    return ( y % ( 1 << x ) );
  }
question_info.test_code: import array
  import bisect
  import collections
  import datetime
  import functools
  import heapq
  import itertools
  import math
  import queue
  import re
  import string
  import sys
  from typing import Any, Dict, List, Optional, Set
  
  
  # SOLUTION CODE
  # ============================================
  PLACEHOLDER_CODE_BODY
  
  # TESTING CODE 
  # ============================================
  def validate_solution(actual, expected):
      return actual == expected
  
  def driver(y, x, expected):
      try:
          if validate_solution(PLACEHOLDER_FN_NAME(
              y, x),
              expected
          ):
              return "PASSED"
          return "FAILED"
      except Exception as exception_obj:
          return type(exception_obj).__name__
      
  if __name__ == "__main__":
      result = driver(57, 76, 57)
      print(f"TEST-0...{result}")
  
      result = driver(80, 46, 80)
      print(f"TEST-1...{result}")
  
      result = driver(84, 96, 84)
      print(f"TEST-2...{result}")
  
      result = driver(35, 16, 35)
      print(f"TEST-3...{result}")
  
      result = driver(3, 84, 3)
      print(f"TEST-4...{result}")
  
      result = driver(42, 79, 42)
      print(f"TEST-5...{result}")
  
      result = driver(7, 2, 3)
      print(f"TEST-6...{result}")
  
      result = driver(99, 83, 99)
      print(f"TEST-7...{result}")
  
      result = driver(13, 61, 13)
      print(f"TEST-8...{result}")
  
      result = driver(44, 8, 44)
      print(f"TEST-9...{result}")
  
      sys.exit(0)
question_info.test_case_ids: ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9']
question_info.entry_fn_name: find_value_of_y_mod_2_raised_to_power_x
question_info.test_list: [{"idx": 0, "outputs": 57, "inputs": {"y": 57, "x": 76}}, {"idx": 1, "outputs": 80, "inputs": {"y": 80, "x": 46}}, {"idx": 2, "outputs": 84, "inputs": {"y": 84, "x": 96}}, {"idx": 3, "outputs": 35, "inputs": {"y": 35, "x": 16}}, {"idx": 4, "outputs": 3, "inputs": {"y": 3, "x": 84}}, {"idx": 5, "outputs": 42, "inputs": {"y": 42, "x": 79}}, {"idx": 6, "outputs": 3, "inputs": {"y": 7, "x": 2}}, {"idx": 7, "outputs": 99, "inputs": {"y": 99, "x": 83}}, {"idx": 8, "outputs": 13, "inputs": {"y": 13, "x": 61}}, {"idx": 9, "outputs": 44, "inputs": {"y": 44, "x": 8}}]
question_info.entry_cls_name: Solution