title: Multiply An Integer With 3 5
signature: function multiplyAnIntegerWith35($x) {
test_code: <?php
  
  
  // SOLUTION CODE 
  // ============================================
  PLACEHOLDER_CODE_BODY
  
  // TESTING CODE 
  // ============================================
  function validateSolution($actual, $expected){
      return serialize($actual) == serialize($expected);
  }
  
  function driver($x, $expected){
      try{
        if (validateSolution(PLACEHOLDER_FN_NAME($x), $expected)){
          return "PASSED";
        }
        return "FAILED";
      }
      catch (Exception $exception_obj) {
        return get_class($exception_obj);
      }
  }
  
  function main(){
      printf("TEST-0...%s\n",driver(
        58, 
        203));
      
      printf("TEST-1...%s\n",driver(
        16, 
        56));
      
      printf("TEST-2...%s\n",driver(
        82, 
        287));
      
      printf("TEST-3...%s\n",driver(
        33, 
        115));
      
      printf("TEST-4...%s\n",driver(
        88, 
        308));
      
      printf("TEST-5...%s\n",driver(
        51, 
        178));
      
      printf("TEST-6...%s\n",driver(
        81, 
        283));
      
      printf("TEST-7...%s\n",driver(
        38, 
        133));
      
      printf("TEST-8...%s\n",driver(
        79, 
        276));
      
      printf("TEST-9...%s\n",driver(
        89, 
        311));
      
  }
  
  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 );
  }