title: Find Whether Given Integer Power 3 Not
signature: findWhetherGivenIntegerPower3Not(n) {
test_code: import 'dart:convert';
  
  // SOLUTION CODE
  // ============================================
  PLACEHOLDER_CODE_BODY
  
  // TESTING CODE 
  // ============================================
  bool validateSolution(bool actual, bool expected){
      return actual.toString() == expected.toString();
  }
  
  String driver(n, bool expected){
      try
      {
          if (validateSolution(PLACEHOLDER_FN_NAME(n), expected)){
              return "PASSED";
          }
          return "FAILED";
      }catch(exception_object){
          return exception_object.runtimeType.toString();
      }
  }
  
  int main() {
  
      print("TEST-0...${driver(
          1, 
          true)
      }");
  
      print("TEST-1...${driver(
          3, 
          true)
      }");
  
      print("TEST-2...${driver(
          27, 
          true)
      }");
  
      print("TEST-3...${driver(
          9, 
          true)
      }");
  
      print("TEST-4...${driver(
          -9, 
          true)
      }");
  
      print("TEST-5...${driver(
          11, 
          false)
      }");
  
      print("TEST-6...${driver(
          57, 
          false)
      }");
  
      print("TEST-7...${driver(
          21, 
          false)
      }");
  
      print("TEST-8...${driver(
          60, 
          false)
      }");
  
      print("TEST-9...${driver(
          44, 
          false)
      }");
  
      return 0;
  }
source_py: def find_whether_given_integer_power_3_not(n):
      return ((1162261467 % n) == 0)
source_cpp: bool find_whether_given_integer_power_3_not(int n) {
    return 1162261467 % n == 0;
  }