title: Multiply An Integer With 3 5
signature: function multiply_an_integer_with_3_5(x)
test_code: using Printf
  
  # SOLUTION CODE
  # ============================================
  PLACEHOLDER_CODE_BODY
  
  # TESTING CODE 
  # ============================================
  function validate_solution(actual, expected)
      return actual == expected
  end
  
  function driver(x, expected)
      try
  
          if validate_solution(PLACEHOLDER_FN_NAME(x), expected)
              return "PASSED";
          end
          return "FAILED";
      catch exception_obj
          return string(Base.typename(typeof(exception_obj)).wrapper);
      end
  end
  
  function main()
      
      result = driver(58, 203);
      @printf("TEST-0...%s\n",result);
      
      result = driver(16, 56);
      @printf("TEST-1...%s\n",result);
      
      result = driver(82, 287);
      @printf("TEST-2...%s\n",result);
      
      result = driver(33, 115);
      @printf("TEST-3...%s\n",result);
      
      result = driver(88, 308);
      @printf("TEST-4...%s\n",result);
      
      result = driver(51, 178);
      @printf("TEST-5...%s\n",result);
      
      result = driver(81, 283);
      @printf("TEST-6...%s\n",result);
      
      result = driver(38, 133);
      @printf("TEST-7...%s\n",result);
      
      result = driver(79, 276);
      @printf("TEST-8...%s\n",result);
      
      result = driver(89, 311);
      @printf("TEST-9...%s\n",result);
      
  end
  
  main()
source_py: def multiply_an_integer_with_3_5(x):
      return (((x << 1) + x) + (x >> 1))
source_cpp: int multiply_an_integer_with_3_5(int x) {
    return ( x << 1 ) + x + ( x >> 1 );
  }