title: Gcd Elements Given Range
signature: gcdElementsGivenRange(n, m) {
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(n, m, int expected){
      try
      {
          if (validateSolution(PLACEHOLDER_FN_NAME(n, m), expected)){
              return "PASSED";
          }
          return "FAILED";
      }catch(exception_object){
          return exception_object.runtimeType.toString();
      }
  }
  
  int main() {
  
      print("TEST-0...${driver(
          57, 57, 
          57)
      }");
  
      print("TEST-1...${driver(
          22, 22, 
          22)
      }");
  
      print("TEST-2...${driver(
          17, 17, 
          17)
      }");
  
      print("TEST-3...${driver(
          74, 74, 
          74)
      }");
  
      print("TEST-4...${driver(
          93, 22, 
          1)
      }");
  
      print("TEST-5...${driver(
          56, 54, 
          1)
      }");
  
      print("TEST-6...${driver(
          5, 33, 
          1)
      }");
  
      print("TEST-7...${driver(
          5, 68, 
          1)
      }");
  
      print("TEST-8...${driver(
          9, 75, 
          1)
      }");
  
      print("TEST-9...${driver(
          98, 21, 
          1)
      }");
  
      return 0;
  }
source_py: def gcd_elements_given_range(n, m):
      return (n if (n == m) else 1)
source_cpp: int gcd_elements_given_range(int n, int m) {
    return ( n == m ) ? n : 1;
  }