title: Multiply An Integer With 3 5
signature: multiply_an_integer_with_3_5 <- function(x) {
test_code: 
  
  
  # SOLUTION CODE
  # ============================================
  PLACEHOLDER_CODE_BODY
  
  # TESTING CODE 
  # ============================================
  validate_solution <- function(actual, expected) {
      toString(actual)==toString(expected)
  }
  
  driver <- function(x, expected){
      if (validate_solution(PLACEHOLDER_FN_NAME(x), expected)){
          "PASSED"
      } else{
          "FAILED"
      }
  }
  
  main <- function() {
      cat(sprintf("TEST-0...%s\n",driver(
          58L, 
          203L
      )))
  
      cat(sprintf("TEST-1...%s\n",driver(
          16L, 
          56L
      )))
  
      cat(sprintf("TEST-2...%s\n",driver(
          82L, 
          287L
      )))
  
      cat(sprintf("TEST-3...%s\n",driver(
          33L, 
          115L
      )))
  
      cat(sprintf("TEST-4...%s\n",driver(
          88L, 
          308L
      )))
  
      cat(sprintf("TEST-5...%s\n",driver(
          51L, 
          178L
      )))
  
      cat(sprintf("TEST-6...%s\n",driver(
          81L, 
          283L
      )))
  
      cat(sprintf("TEST-7...%s\n",driver(
          38L, 
          133L
      )))
  
      cat(sprintf("TEST-8...%s\n",driver(
          79L, 
          276L
      )))
  
      cat(sprintf("TEST-9...%s\n",driver(
          89L, 
          311L
      )))
  
  }
  
  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 );
  }