title: Multiply An Integer With 3 5
signature: class Solution {
  
      public Integer multiplyAnIntegerWith35(Integer x) {
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 );
  }
question_info.extension: java
question_info.entry_fn_name: multiplyAnIntegerWith35
question_info.entry_cls_name: Solution
question_info.test_list: [{"idx": 0, "outputs": 203, "inputs": {"x": 58}}, {"idx": 1, "outputs": 56, "inputs": {"x": 16}}, {"idx": 2, "outputs": 287, "inputs": {"x": 82}}, {"idx": 3, "outputs": 115, "inputs": {"x": 33}}, {"idx": 4, "outputs": 308, "inputs": {"x": 88}}, {"idx": 5, "outputs": 178, "inputs": {"x": 51}}, {"idx": 6, "outputs": 283, "inputs": {"x": 81}}, {"idx": 7, "outputs": 133, "inputs": {"x": 38}}, {"idx": 8, "outputs": 276, "inputs": {"x": 79}}, {"idx": 9, "outputs": 311, "inputs": {"x": 89}}]
question_info.test_code: import static java.util.Map.entry;  
  import java.util.*;
  import java.lang.*;
  // TESTING CODE 
  // ============================================
  class QuestionEvaluator {
      public static String validateSolution(Integer x, Integer expected){
          try{
              Driver driver = new Driver();
              if (driver.run(x,expected)){
                  return "PASSED";
              }
              return "FAILED";
              
          } catch (Exception exception_obj){
              return exception_obj.getClass().getSimpleName();
          }
  
      }
      public static void main(String[] args) {
          String result;
          result = validateSolution(58, 203);
          System.out.println(String.format("%s%s","TEST-0...",result));    
      
          result = validateSolution(16, 56);
          System.out.println(String.format("%s%s","TEST-1...",result));    
      
          result = validateSolution(82, 287);
          System.out.println(String.format("%s%s","TEST-2...",result));    
      
          result = validateSolution(33, 115);
          System.out.println(String.format("%s%s","TEST-3...",result));    
      
          result = validateSolution(88, 308);
          System.out.println(String.format("%s%s","TEST-4...",result));    
      
          result = validateSolution(51, 178);
          System.out.println(String.format("%s%s","TEST-5...",result));    
      
          result = validateSolution(81, 283);
          System.out.println(String.format("%s%s","TEST-6...",result));    
      
          result = validateSolution(38, 133);
          System.out.println(String.format("%s%s","TEST-7...",result));    
      
          result = validateSolution(79, 276);
          System.out.println(String.format("%s%s","TEST-8...",result));    
      
          result = validateSolution(89, 311);
          System.out.println(String.format("%s%s","TEST-9...",result));    
      
      }
  }
  
  class Driver{
      public boolean run(Integer x, Integer expected){
  
          PLACEHOLDER_CLS_NAME sol = new PLACEHOLDER_CLS_NAME();
          return validateSolution(sol.PLACEHOLDER_FN_NAME(x),expected);
      }
      
      public boolean validateSolution(Integer actual, Integer expected){
          return actual.equals(expected);
      }
  }
  
  
  // SOLUTION CODE
  // ============================================
  PLACEHOLDER_CODE_BODY
question_info.test_case_ids: 0 1 2 3 4 5 6 7 8 9
question_info.commands: java __FILENAME__