i could be wrong and might be getting my math wrong but it's not possible to get negative numbers anywhere is this puzzle? all numbers should be treated as positive and any "-" signs should be treated as subtraction and not a negative. Also for extra precaution the Ornate Door puzzle should be done in a singular string, as there's no parantheses around the addition segments
