title: Gcd Elements Given Range
signature: def gcdElementsGivenRange(n: Int, m: Int) = {
test_code: import scala.collection.mutable.HashMap
  import scala.collection.immutable.HashSet
  
  
  // SOLUTION CODE
  // ============================================
  PLACEHOLDER_CODE_BODY
  
  
  // TESTING CODE 
  // ============================================
  def validateSolution(actual: Int , expected: Int): Boolean = {
      actual.toString == expected.toString
  }
  
  def driver(n: Int, m: Int, expected: Int): String = {
      try {
          if (validateSolution(PLACEHOLDER_FN_NAME(n, m),expected)) {
              "PASSED"
          } else{
              "FAILED"
          }
      }catch{
          case e: Exception => {e.getClass.getName}
      }
  
  }
  object QuestionEvaluator extends App {
  
      println(s"TEST-0...${driver(
        57, 57, 
        57    
      )}")   
  
  
      println(s"TEST-1...${driver(
        22, 22, 
        22    
      )}")   
  
  
      println(s"TEST-2...${driver(
        17, 17, 
        17    
      )}")   
  
  
      println(s"TEST-3...${driver(
        74, 74, 
        74    
      )}")   
  
  
      println(s"TEST-4...${driver(
        93, 22, 
        1    
      )}")   
  
  
      println(s"TEST-5...${driver(
        56, 54, 
        1    
      )}")   
  
  
      println(s"TEST-6...${driver(
        5, 33, 
        1    
      )}")   
  
  
      println(s"TEST-7...${driver(
        5, 68, 
        1    
      )}")   
  
  
      println(s"TEST-8...${driver(
        9, 75, 
        1    
      )}")   
  
  
      println(s"TEST-9...${driver(
        98, 21, 
        1    
      )}")   
  
  }
  
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;
  }