title: Multiply An Integer With 3 5
signature: function multiplyAnIntegerWith35(x: number): number {
test_code: 
  
  // SOLUTION CODE
  // ============================================
  PLACEHOLDER_CODE_BODY
  
  // TESTING CODE 
  // ============================================
  function convertToString(value: any): string{
      return JSON.stringify(value, function (key, val) {
          if (val instanceof Set) {
              return Array.from(val);
          } return val;});
  }
  
  function validateSolution(actual: number, expected: number): boolean {
      return convertToString(actual) === convertToString(expected);
  }
  
  function driver(x: number, expected:number): string {
      try{
          if (validateSolution(PLACEHOLDER_FN_NAME(x),expected)){
              return "PASSED";
          }
          return "FAILED";
      } catch (error) {
        return error.name;
      }
      
  }
      
  function main(){
    let result = '';
    result = driver(58, 203);
    console.log(`TEST-0...${result}`);
  
    result = driver(16, 56);
    console.log(`TEST-1...${result}`);
  
    result = driver(82, 287);
    console.log(`TEST-2...${result}`);
  
    result = driver(33, 115);
    console.log(`TEST-3...${result}`);
  
    result = driver(88, 308);
    console.log(`TEST-4...${result}`);
  
    result = driver(51, 178);
    console.log(`TEST-5...${result}`);
  
    result = driver(81, 283);
    console.log(`TEST-6...${result}`);
  
    result = driver(38, 133);
    console.log(`TEST-7...${result}`);
  
    result = driver(79, 276);
    console.log(`TEST-8...${result}`);
  
    result = driver(89, 311);
    console.log(`TEST-9...${result}`);
  
  };
  
  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 );
  }