title: Smallest Of Three Integers Without Comparison Operators
signature: smallestOfThreeIntegersWithoutComparisonOperators :: Integer -> Integer -> Integer -> Integer
  smallestOfThreeIntegersWithoutComparisonOperators x y z = 
test_code: import Text.Printf
  import Control.Exception (catch, SomeException)
  import Data.Typeable
  import qualified Data.List as List
  import qualified Data.Map as Map
  import qualified Data.Set as Set
  
  -- SOLUTION CODE
  -- ============================================
  
  PLACEHOLDER_CODE_BODY
  
  -- TESTING CODE 
  -- ============================================
  validateSolution :: Integer -> Integer -> Bool
  validateSolution actual expected = do
      actual == expected
  
  
  driver :: Integer -> Integer -> Integer -> Integer -> String
  driver x y z expected = do
      if (validateSolution (PLACEHOLDER_FN_NAME x y z) expected)
          then "PASSED"
      else "FAILED"
  
  main = do
      printf "TEST-0...%s\n" (driver (23) (98) (25) (23) )
  
      printf "TEST-1...%s\n" (driver (87) (55) (94) (55) )
  
      printf "TEST-2...%s\n" (driver (35) (90) (29) (29) )
  
      printf "TEST-3...%s\n" (driver (25) (9) (41) (9) )
  
      printf "TEST-4...%s\n" (driver (93) (22) (39) (22) )
  
      printf "TEST-5...%s\n" (driver (52) (42) (96) (42) )
  
      printf "TEST-6...%s\n" (driver (95) (88) (26) (26) )
  
      printf "TEST-7...%s\n" (driver (91) (64) (51) (51) )
  
      printf "TEST-8...%s\n" (driver (75) (1) (6) (1) )
  
      printf "TEST-9...%s\n" (driver (96) (44) (76) (44) )
  
source_py: def smallest_of_three_integers_without_comparison_operators(x, y, z):
      c = 0
      while (x and y and z):
          x = (x - 1)
          y = (y - 1)
          z = (z - 1)
          c = (c + 1)
      return c
source_cpp: int smallest_of_three_integers_without_comparison_operators(int x, int y, int z) {
    int c = 0;
    while ( x && y && z ) {
      x --;
      y --;
      z --;
      c ++;
    }
    return c;
  }