title: Compute Average Two Numbers Without Overflow
signature: computeAverageTwoNumbersWithoutOverflow(a, b) {
test_code: import 'dart:convert';
  
  // SOLUTION CODE
  // ============================================
  PLACEHOLDER_CODE_BODY
  
  // TESTING CODE 
  // ============================================
  bool validateSolution(int actual, int expected){
      return actual.toString() == expected.toString();
  }
  
  String driver(a, b, int expected){
      try
      {
          if (validateSolution(PLACEHOLDER_FN_NAME(a, b), expected)){
              return "PASSED";
          }
          return "FAILED";
      }catch(exception_object){
          return exception_object.runtimeType.toString();
      }
  }
  
  int main() {
  
      print("TEST-0...${driver(
          1, 44, 
          22)
      }");
  
      print("TEST-1...${driver(
          6, 61, 
          33)
      }");
  
      print("TEST-2...${driver(
          75, 20, 
          47)
      }");
  
      print("TEST-3...${driver(
          51, 17, 
          34)
      }");
  
      print("TEST-4...${driver(
          19, 25, 
          22)
      }");
  
      print("TEST-5...${driver(
          82, 98, 
          90)
      }");
  
      print("TEST-6...${driver(
          72, 21, 
          46)
      }");
  
      print("TEST-7...${driver(
          48, 41, 
          44)
      }");
  
      print("TEST-8...${driver(
          12, 17, 
          14)
      }");
  
      print("TEST-9...${driver(
          41, 80, 
          60)
      }");
  
      return 0;
  }
source_py: def compute_average_two_numbers_without_overflow(a, b):
      return floor(((a + b) / 2))
source_cpp: int compute_average_two_numbers_without_overflow(int a, int b) {
    return ( a + b ) / 2;
  }