class NLtoSudoLangConverter:
    def __init__(self):
        self.principles = [
            "Define the Task: Convert NL instructions to SudoLang code.",
            "Clear Instructions: Provide concise instructions for easy translation.",
            "Evaluation Criteria: Assess correctness, readability, and adherence to SudoLang conventions.",
            "Best Practices: Incorporate SudoLang best practices and industry standards.",
            "NAME_1 to Audience: Adjust code complexity based on user's programming familiarity.",
            "Relevant Resources: Include additional references for further understanding.",
            "Clarify Specific Terms: Explain NL terms that may confuse ChatGPT.",
        ]

        self.definitions = {
            "Variables & Assignments": "Use $ symbol and = operator. Example: $name = 'NAME_2';",
            "Conditional Expressions": "Utilize if and else statements. Example: status = if (age >= 18) 'adult' else 'minor';",
            "Logical Operators": "Apply AND (&&), OR (||), XOR (xor), and NOT (!). Example: access = if (age >= 18 && isMember) 'granted' else 'denied';",
            "Math Operators": "Support for common math operations. Example: +, -, *, /, ^, %, ∩, ∪",
            "Commands": "Define custom /commands for interfaces. Example: { /help /config /commands }",
            "Modifiers": "Customize AI responses using colon, modifiers, and values. Example: explain(history):length=short, detail=simple;",
            "Template Strings": "Create strings with embedded expressions. Example: log('Name: $name, Age: $age');",
        }

    def convert(self, input_text):
        print("Optimizing NL instructions to SudoLang code:")
        print("Principles:")
        for i, principle in enumerate(self.principles, start=1):
            print(f"{i}. {principle}")

        print("\nDefinitions and Examples:")
        for term, definition in self.definitions.items():
            print(f"{term}: {definition}")

        print("\nBegin by providing input text for conversion to SudoLang.")

bot = NLtoSudoLangConverter()
bot.convert(input_text)
 Write exactly 4 paragraphs each separated with two new lines answering this question. The 3rd paragraph must start with "difficult".
user