Пользователь вводит два угла треугольника. Является ли треугольник правильным?

<xml xmlns="http://www.w3.org/1999/xhtml">
<block type="variables_set" id="21" x="188" y="13">
<field name="VAR">Первый угол</field>
<value name="VALUE">
<block type="text_prompt_ext" id="57">
<mutation type="NUMBER"></mutation>
<field name="TYPE">NUMBER</field>
<value name="TEXT">
<block type="text" id="58">
<field name="TEXT">Введите первый угол треугольника</field>
</block>
</value>
</block>
</value>
<next>
<block type="variables_set" id="24">
<field name="VAR">Второй угол</field>
<value name="VALUE">
<block type="text_prompt_ext" id="59">
<mutation type="NUMBER"></mutation>
<field name="TYPE">NUMBER</field>
<value name="TEXT">
<block type="text" id="60">
<field name="TEXT">Введите второй угол треугольника</field>
</block>
</value>
</block>
</value>
<next>
<block type="variables_set" id="31">
<field name="VAR">Третий угол</field>
<value name="VALUE">
<block type="math_arithmetic" id="89">
<field name="OP">MINUS</field>
<value name="A">
<block type="math_number" id="127">
<field name="NUM">180</field>
</block>
</value>
<value name="B">
<block type="math_arithmetic" id="108">
<field name="OP">ADD</field>
<value name="A">
<block type="variables_get" id="163">
<field name="VAR">Первый угол</field>
</block>
</value>
<value name="B">
<block type="variables_get" id="154">
<field name="VAR">Второй угол</field>
</block>
</value>
</block>
</value>
</block>
</value>
<next>
<block type="variables_set" id="424">
<field name="VAR">Есть ошибка</field>
<comment pinned="true" h="49" w="159">Начинаем блок проверки ошибок</comment>
<value name="VALUE">
<block type="logic_boolean" id="432">
<field name="BOOL">FALSE</field>
</block>
</value>
<next>
<block type="controls_if" id="233">
<value name="IF0">
<block type="logic_compare" id="286">
<field name="OP">LTE</field>
<value name="A">
<block type="variables_get" id="295">
<field name="VAR">Первый угол</field>
</block>
</value>
<value name="B">
<block type="math_number" id="331">
<field name="NUM">0</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="variables_set" id="340">
<field name="VAR">Есть ошибка</field>
<value name="VALUE">
<block type="logic_boolean" id="401">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</statement>
<next>
<block type="controls_if" id="402">
<value name="IF0">
<block type="logic_compare" id="403">
<field name="OP">LTE</field>
<value name="A">
<block type="variables_get" id="404">
<field name="VAR">Второй угол</field>
</block>
</value>
<value name="B">
<block type="math_number" id="405">
<field name="NUM">0</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="variables_set" id="406">
<field name="VAR">Есть ошибка</field>
<value name="VALUE">
<block type="logic_boolean" id="407">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</statement>
<next>
<block type="controls_if" id="408">
<value name="IF0">
<block type="logic_compare" id="409">
<field name="OP">LTE</field>
<value name="A">
<block type="variables_get" id="410">
<field name="VAR">Третий угол</field>
</block>
</value>
<value name="B">
<block type="math_number" id="411">
<field name="NUM">0</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="variables_set" id="412">
<field name="VAR">Есть ошибка</field>
<value name="VALUE">
<block type="logic_boolean" id="413">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</statement>
<next>
<block type="controls_if" id="458">
<mutation else="1"></mutation>
<value name="IF0">
<block type="variables_get" id="504">
<field name="VAR">Есть ошибка</field>
</block>
</value>
<statement name="DO0">
<block type="text_print" id="540">
<value name="TEXT">
<block type="text" id="558">
<field name="TEXT">При вводе значений углов вы допустили ошибку.</field>
</block>
</value>
</block>
</statement>
<statement name="ELSE">
<block type="variables_set" id="656">
<field name="VAR">Треугольник правильный</field>
<comment pinned="true" h="80" w="160">Определяем - является ли треугольник правильным?</comment>
<value name="VALUE">
<block type="logic_boolean" id="664">
<field name="BOOL">FALSE</field>
</block>
</value>
<next>
<block type="controls_if" id="570">
<value name="IF0">
<block type="logic_compare" id="642">
<field name="OP">EQ</field>
<value name="A">
<block type="variables_get" id="730">
<field name="VAR">Первый угол</field>
</block>
</value>
<value name="B">
<block type="variables_get" id="743">
<field name="VAR">Второй угол</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="controls_if" id="774">
<value name="IF0">
<block type="logic_compare" id="775">
<field name="OP">EQ</field>
<value name="A">
<block type="variables_get" id="776">
<field name="VAR">Первый угол</field>
</block>
</value>
<value name="B">
<block type="variables_get" id="777">
<field name="VAR">Третий угол</field>
</block>
</value>
</block>
</value>
<statement name="DO0">
<block type="variables_set" id="778">
<field name="VAR">Треугольник правильный</field>
<value name="VALUE">
<block type="logic_boolean" id="779">
<field name="BOOL">TRUE</field>
</block>
</value>
</block>
</statement>
</block>
</statement>
<next>
<block type="controls_if" id="787">
<mutation else="1"></mutation>
<value name="IF0">
<block type="variables_get" id="827">
<field name="VAR">Треугольник правильный</field>
</block>
</value>
<statement name="DO0">
<block type="text_print" id="846">
<value name="TEXT">
<block type="text" id="847">
<field name="TEXT">Треугольник правильный</field>
</block>
</value>
</block>
</statement>
<statement name="ELSE">
<block type="text_print" id="848">
<value name="TEXT">
<block type="text" id="849">
<field name="TEXT">Треугольник не является правильным</field>
</block>
</value>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</statement>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</next>
</block>
</xml>