Topic: Number Substitution Patterns
if I have the numbers 1, 5, 6, 7, 9 and 10, what series of operations do I need to do to get 633 as result? The available operations are addition, substraction, multiplication and division. The use of all the numbers is not required but each number can only be used once.

Topic: Number Substitution Patterns
Write a Python function that takes user input as a string, as well as a mapping of variable names to values (both strings) passed as a dict. The function should search the user input string for each variable name specified, and replace them with the variable value. Variables in the input string must be within angle brackets (< and >), and can be no longer than 30 characters. When found, the function should replace the variable name as well as the angle brackets with the variable value. Text that matches a variable name but is not in angle brackets should not be touched. Variables longer than 30 characters in length should not be touched. Function should return the modified string after the variable replacements.