\documentclass{article}
\usepackage{a4wide}
\usepackage{adjustbox}
\usepackage{fancyhdr}
\usepackage{tikz}
\usepackage{ifthen}
\usetikzlibrary{automata}
\usepackage{datetime}
\lhead{./certificates/march3testa1-march3testa2/sim-29549.tex}
\rhead{09:11:48.676 on 2025-04-03}
\fancyfoot{}
\begin{document}
\newif\ifntiny
%\ntinyfalse
\ntinytrue
\thispagestyle{fancy}
\begin{center}
\maxsizebox{!}{0.475\textheight}{
\minsizebox{\textwidth}{!}{
\begin{tabular}{@{}c@{}}
% node count = 71
\begin{tikzpicture}[rotate = 0]
%\begin{tikzpicture}[rotate = 90]
\tikzset{initial text=$ $}

\node[accepting, state] at (6,-16) (n0n0n0n0n2n0n1n0) {$p!$\,\ifntiny{\tiny 29621}\fi};
\node[accepting, state] at (31,-20) (n1n0n0n1n0n0n0n1n0n0) {$p!$\,\ifntiny{\tiny 30111}\fi};
\node[initial, state] at (31,0) (n) {$\cup$\,\ifntiny{\tiny 30319}\fi};
\node[accepting, state] at (19,-8) (n0n1n0n2) {$p?$\,\ifntiny{\tiny 29624}\fi};
\node[state] at (18,-4) (n0n1) {$p?$\,\ifntiny{\tiny 30290}\fi};
\node[accepting, state] at (46,-10) (n1n0n2n0n0) {$p!$\,\ifntiny{\tiny 29615}\fi};
\node[accepting, state] at (42,-18) (n1n0n0n1n0n2n0n1n0) {$p!$\,\ifntiny{\tiny 29621}\fi};
\node[accepting, state] at (5,-12) (n0n0n0n0n2n0) {$p?$\,\ifntiny{\tiny 29623}\fi};
\node[accepting, state] at (58,-4) (n3n0) {$p!$\,\ifntiny{\tiny 29615}\fi};
\node[accepting, state] at (5,-10) (n0n0n0n0n2) {$p?$\,\ifntiny{\tiny 29624}\fi};
\node[accepting, state] at (42,-16) (n1n0n0n1n0n2n0n1) {$p?$\,\ifntiny{\tiny 29622}\fi};
\node[accepting, state] at (33,-16) (n1n0n0n1n0n0n0n1) {$p?$\,\ifntiny{\tiny 30125}\fi};
\node[accepting, state] at (12,-10) (n0n0n1n0n1) {$p?$\,\ifntiny{\tiny 30123}\fi};
\node[accepting, state] at (6,-14) (n0n0n0n0n2n0n1) {$p?$\,\ifntiny{\tiny 29622}\fi};
\node[state] at (36,-2) (n1) {$p?$\,\ifntiny{\tiny 30318}\fi};
\node[state] at (37,-12) (n1n0n0n1n0n1) {$p?$\,\ifntiny{\tiny 30309}\fi};
\node[state] at (32,-14) (n1n0n0n1n0n0n0) {$\cup$\,\ifntiny{\tiny 30307}\fi};
\node[accepting, state] at (33,-18) (n1n0n0n1n0n0n0n1n0) {$p?$\,\ifntiny{\tiny 30124}\fi};
\node[accepting, state] at (54,-4) (n2n0) {$p?$\,\ifntiny{\tiny 29623}\fi};
\node[state] at (33,-12) (n1n0n0n1n0n0) {$p?$\,\ifntiny{\tiny 30308}\fi};
\node[accepting, state] at (55,-6) (n2n0n1) {$p?$\,\ifntiny{\tiny 29622}\fi};
\node[accepting, state] at (34,-22) (n1n0n0n1n0n0n0n1n0n1n0) {$p!$\,\ifntiny{\tiny 30122}\fi};
\node[accepting, state] at (11,-8) (n0n0n1n0) {$p?$\,\ifntiny{\tiny 30124}\fi};
\node[state] at (44,-6) (n1n0n1) {$p?$\,\ifntiny{\tiny 30316}\fi};
\node[state] at (36,-4) (n1n0) {$\cup$\,\ifntiny{\tiny 30317}\fi};
\node[accepting, state] at (49,-12) (n1n0n2n0n1n0) {$p!$\,\ifntiny{\tiny 29621}\fi};
\node[state] at (22,-10) (n1n0n0n0n0) {$p?$\,\ifntiny{\tiny 30313}\fi};
\node[accepting, state] at (9,-10) (n0n0n1n0n0) {$p!$\,\ifntiny{\tiny 30111}\fi};
\node[accepting, state] at (57,-6) (n3n0n0) {$p?$\,\ifntiny{\tiny 29624}\fi};
\node[accepting, state] at (19,-10) (n0n1n0n2n0) {$p?$\,\ifntiny{\tiny 29623}\fi};
\node[accepting, state] at (12,-12) (n0n0n1n0n1n0) {$p!$\,\ifntiny{\tiny 30122}\fi};
\node[accepting, state] at (39,-16) (n1n0n0n1n0n2n0n0) {$p!$\,\ifntiny{\tiny 29615}\fi};
\node[accepting, state] at (61,-4) (n3n1) {$p?$\,\ifntiny{\tiny 29622}\fi};
\node[accepting, state] at (60,-8) (n3n1n0n0) {$p?$\,\ifntiny{\tiny 29624}\fi};
\node[accepting, state] at (20,-14) (n0n1n0n2n0n1n0) {$p!$\,\ifntiny{\tiny 29621}\fi};
\node[state] at (18,-6) (n0n1n0) {$\cup$\,\ifntiny{\tiny 30289}\fi};
\node[accepting, state] at (60,-2) (n3) {$p?$\,\ifntiny{\tiny 29623}\fi};
\node[accepting, state] at (41,-12) (n1n0n0n1n0n2) {$p?$\,\ifntiny{\tiny 29624}\fi};
\node[accepting, state] at (58,-6) (n3n0n1) {$p?$\,\ifntiny{\tiny 29624}\fi};
\node[accepting, state] at (20,-12) (n0n1n0n2n0n1) {$p?$\,\ifntiny{\tiny 29622}\fi};
\node[state] at (0,-10) (n0n0n0n0n0) {$p?$\,\ifntiny{\tiny 30297}\fi};
\node[state] at (4,-8) (n0n0n0n0) {$\cup$\,\ifntiny{\tiny 30298}\fi};
\node[state] at (4,-6) (n0n0n0) {$p?$\,\ifntiny{\tiny 30299}\fi};
\node[state] at (7,-4) (n0n0) {$\cup$\,\ifntiny{\tiny 30300}\fi};
\node[accepting, state] at (26,-10) (n1n0n0n0n1) {$p?$\,\ifntiny{\tiny 30125}\fi};
\node[accepting, state] at (41,-14) (n1n0n0n1n0n2n0) {$p?$\,\ifntiny{\tiny 29623}\fi};
\node[accepting, state] at (49,-10) (n1n0n2n0n1) {$p?$\,\ifntiny{\tiny 29622}\fi};
\node[state] at (36,-8) (n1n0n0n1) {$p?$\,\ifntiny{\tiny 30311}\fi};
\node[accepting, state] at (11,-6) (n0n0n1) {$p?$\,\ifntiny{\tiny 30125}\fi};
\node[accepting, state] at (17,-12) (n0n1n0n2n0n0) {$p!$\,\ifntiny{\tiny 29615}\fi};
\node[state] at (33,-6) (n1n0n0) {$p?$\,\ifntiny{\tiny 30315}\fi};
\node[state] at (14,-8) (n0n1n0n0) {$p?$\,\ifntiny{\tiny 30288}\fi};
\node[accepting, state] at (61,-8) (n3n1n0n1) {$p?$\,\ifntiny{\tiny 29624}\fi};
\node[accepting, state] at (61,-6) (n3n1n0) {$p!$\,\ifntiny{\tiny 29621}\fi};
\node[state] at (29,-16) (n1n0n0n1n0n0n0n0) {$p?$\,\ifntiny{\tiny 30306}\fi};
\node[accepting, state] at (34,-20) (n1n0n0n1n0n0n0n1n0n1) {$p?$\,\ifntiny{\tiny 30123}\fi};
\node[state] at (11,-2) (n0) {$p?$\,\ifntiny{\tiny 30301}\fi};
\node[accepting, state] at (59,-6) (n3n0n2) {$p?$\,\ifntiny{\tiny 29624}\fi};
\node[accepting, state] at (3,-14) (n0n0n0n0n2n0n0) {$p!$\,\ifntiny{\tiny 29615}\fi};
\node[accepting, state] at (27,-14) (n1n0n0n0n1n0n1) {$p?$\,\ifntiny{\tiny 30123}\fi};
\node[accepting, state] at (24,-14) (n1n0n0n0n1n0n0) {$p!$\,\ifntiny{\tiny 30111}\fi};
\node[accepting, state] at (52,-6) (n2n0n0) {$p!$\,\ifntiny{\tiny 29615}\fi};
\node[accepting, state] at (55,-8) (n2n0n1n0) {$p!$\,\ifntiny{\tiny 29621}\fi};
\node[accepting, state] at (62,-8) (n3n1n0n2) {$p?$\,\ifntiny{\tiny 29624}\fi};
\node[accepting, state] at (48,-6) (n1n0n2) {$p?$\,\ifntiny{\tiny 29624}\fi};
\node[accepting, state] at (54,-2) (n2) {$p?$\,\ifntiny{\tiny 29624}\fi};
\node[accepting, state] at (27,-16) (n1n0n0n0n1n0n1n0) {$p!$\,\ifntiny{\tiny 30122}\fi};
\node[accepting, state] at (48,-8) (n1n0n2n0) {$p?$\,\ifntiny{\tiny 29623}\fi};
\node[state] at (25,-8) (n1n0n0n0) {$\cup$\,\ifntiny{\tiny 30314}\fi};
\node[state] at (36,-10) (n1n0n0n1n0) {$\cup$\,\ifntiny{\tiny 30310}\fi};
\node[accepting, state] at (26,-12) (n1n0n0n0n1n0) {$p?$\,\ifntiny{\tiny 30124}\fi};

\draw[->, thick] (n) edge [near start, left] node {} (n0);
\draw[->, thick] (n) edge [near start, left] node {} (n1);
\draw[->, thick] (n) edge [near start, left] node {} (n2);
\draw[->, thick] (n) edge [near start, left] node {} (n3);
\draw[->, thick] (n0) edge [near start, left] node {a} (n0n0);
\draw[->, thick] (n0) edge [near start, left] node {b} (n0n1);
\draw[->, thick] (n0n0) edge [near start, left] node {} (n0n0n0);
\draw[->, thick] (n0n0) edge [near start, left] node {} (n0n0n1);
\draw[->, thick] (n0n0n0) edge [near start, left] node {a} (n0n0n0n0);
\draw[->, thick] (n0n0n0n0) edge [near start, left] node {} (n0n0n0n0n0);
\draw[->, thick] (n0n0n0n0) edge [near start, right, bend right] node {} (n0);
\draw[->, thick] (n0n0n0n0) edge [near start, left] node {} (n0n0n0n0n2);
\draw[->, thick] (n0n0n0n0n0) edge [near start, right, bend right] node {a} (n0n0n0n0);
\draw[->, thick] (n0n0n0n0n2) edge [near start, left] node {a} (n0n0n0n0n2n0);
\draw[->, thick] (n0n0n0n0n2n0) edge [near start, left] node {a} (n0n0n0n0n2n0n0);
\draw[->, thick] (n0n0n0n0n2n0) edge [near start, left] node {b} (n0n0n0n0n2n0n1);
\draw[->, thick] (n0n0n0n0n2n0n0) edge [near start, right, bend right] node {x1} (n0n0n0n0n2);
\draw[->, thick] (n0n0n0n0n2n0n0) edge [near start, right, bend right] node {x2} (n0n0n0n0n2);
\draw[->, thick] (n0n0n0n0n2n0n0) edge [near start, right, bend right] node {x3} (n0n0n0n0n2);
\draw[->, thick] (n0n0n0n0n2n0n1) edge [near start, left] node {a} (n0n0n0n0n2n0n1n0);
\draw[->, thick] (n0n0n0n0n2n0n1n0) edge [near start, left, bend left] node {x1} (n0n0n0n0n2);
\draw[->, thick] (n0n0n0n0n2n0n1n0) edge [near start, left, bend left] node {x2} (n0n0n0n0n2);
\draw[->, thick] (n0n0n0n0n2n0n1n0) edge [near start, left, bend left] node {x3} (n0n0n0n0n2);
\draw[->, thick] (n0n0n1) edge [near start, left] node {a} (n0n0n1n0);
\draw[->, thick] (n0n0n1n0) edge [near start, left] node {a} (n0n0n1n0n0);
\draw[->, thick] (n0n0n1n0) edge [near start, left] node {b} (n0n0n1n0n1);
\draw[->, thick] (n0n0n1n0n0) edge [near start, right, bend right] node {x1} (n0n0n1);
\draw[->, thick] (n0n0n1n0n0) edge [near start, right, bend right] node {x2} (n0n0n1);
\draw[->, thick] (n0n0n1n0n0) edge [near start, right, bend right] node {x3} (n0n0n1);
\draw[->, thick] (n0n0n1n0n1) edge [near start, left] node {a} (n0n0n1n0n1n0);
\draw[->, thick] (n0n0n1n0n1n0) edge [near start, left, bend left] node {x1} (n0n0n1);
\draw[->, thick] (n0n0n1n0n1n0) edge [near start, left, bend left] node {x2} (n0n0n1);
\draw[->, thick] (n0n0n1n0n1n0) edge [near start, left, bend left] node {x3} (n0n0n1);
\draw[->, thick] (n0n1) edge [near start, left] node {a} (n0n1n0);
\draw[->, thick] (n0n1n0) edge [near start, left] node {} (n0n1n0n0);
\draw[->, thick] (n0n1n0) edge [near start, left, bend left] node {} (n0);
\draw[->, thick] (n0n1n0) edge [near start, left] node {} (n0n1n0n2);
\draw[->, thick] (n0n1n0n0) edge [near start, right, bend right] node {a} (n0n1n0);
\draw[->, thick] (n0n1n0n2) edge [near start, left] node {a} (n0n1n0n2n0);
\draw[->, thick] (n0n1n0n2n0) edge [near start, left] node {a} (n0n1n0n2n0n0);
\draw[->, thick] (n0n1n0n2n0) edge [near start, left] node {b} (n0n1n0n2n0n1);
\draw[->, thick] (n0n1n0n2n0n0) edge [near start, right, bend right] node {x1} (n0n1n0n2);
\draw[->, thick] (n0n1n0n2n0n0) edge [near start, right, bend right] node {x2} (n0n1n0n2);
\draw[->, thick] (n0n1n0n2n0n0) edge [near start, right, bend right] node {x3} (n0n1n0n2);
\draw[->, thick] (n0n1n0n2n0n1) edge [near start, left] node {a} (n0n1n0n2n0n1n0);
\draw[->, thick] (n0n1n0n2n0n1n0) edge [near start, left, bend left] node {x1} (n0n1n0n2);
\draw[->, thick] (n0n1n0n2n0n1n0) edge [near start, left, bend left] node {x2} (n0n1n0n2);
\draw[->, thick] (n0n1n0n2n0n1n0) edge [near start, left, bend left] node {x3} (n0n1n0n2);
\draw[->, thick] (n1) edge [near start, left] node {a} (n1n0);
\draw[->, thick] (n1n0) edge [near start, left] node {} (n1n0n0);
\draw[->, thick] (n1n0) edge [near start, left] node {} (n1n0n1);
\draw[->, thick] (n1n0) edge [near start, left] node {} (n1n0n2);
\draw[->, thick] (n1n0n0) edge [near start, left] node {a} (n1n0n0n0);
\draw[->, thick] (n1n0n0) edge [near start, left] node {b} (n1n0n0n1);
\draw[->, thick] (n1n0n0n0) edge [near start, left] node {} (n1n0n0n0n0);
\draw[->, thick] (n1n0n0n0) edge [near start, left] node {} (n1n0n0n0n1);
\draw[->, thick] (n1n0n0n0n0) edge [near start, right, bend right] node {a} (n1n0);
\draw[->, thick] (n1n0n0n0n1) edge [near start, left] node {a} (n1n0n0n0n1n0);
\draw[->, thick] (n1n0n0n0n1n0) edge [near start, left] node {a} (n1n0n0n0n1n0n0);
\draw[->, thick] (n1n0n0n0n1n0) edge [near start, left] node {b} (n1n0n0n0n1n0n1);
\draw[->, thick] (n1n0n0n0n1n0n0) edge [near start, right, bend right] node {x1} (n1n0n0n0n1);
\draw[->, thick] (n1n0n0n0n1n0n0) edge [near start, right, bend right] node {x2} (n1n0n0n0n1);
\draw[->, thick] (n1n0n0n0n1n0n0) edge [near start, right, bend right] node {x3} (n1n0n0n0n1);
\draw[->, thick] (n1n0n0n0n1n0n1) edge [near start, left] node {a} (n1n0n0n0n1n0n1n0);
\draw[->, thick] (n1n0n0n0n1n0n1n0) edge [near start, left, bend left] node {x1} (n1n0n0n0n1);
\draw[->, thick] (n1n0n0n0n1n0n1n0) edge [near start, left, bend left] node {x2} (n1n0n0n0n1);
\draw[->, thick] (n1n0n0n0n1n0n1n0) edge [near start, left, bend left] node {x3} (n1n0n0n0n1);
\draw[->, thick] (n1n0n0n1) edge [near start, left] node {a} (n1n0n0n1n0);
\draw[->, thick] (n1n0n0n1n0) edge [near start, left] node {} (n1n0n0n1n0n0);
\draw[->, thick] (n1n0n0n1n0) edge [near start, left] node {} (n1n0n0n1n0n1);
\draw[->, thick] (n1n0n0n1n0) edge [near start, left] node {} (n1n0n0n1n0n2);
\draw[->, thick] (n1n0n0n1n0n0) edge [near start, left] node {a} (n1n0n0n1n0n0n0);
\draw[->, thick] (n1n0n0n1n0n0) edge [near start, right, bend right] node {b} (n1n0n0n1);
\draw[->, thick] (n1n0n0n1n0n0n0) edge [near start, left] node {} (n1n0n0n1n0n0n0n0);
\draw[->, thick] (n1n0n0n1n0n0n0) edge [near start, left] node {} (n1n0n0n1n0n0n0n1);
\draw[->, thick] (n1n0n0n1n0n0n0n0) edge [near start, right, bend right] node {a} (n1n0);
\draw[->, thick] (n1n0n0n1n0n0n0n1) edge [near start, left] node {a} (n1n0n0n1n0n0n0n1n0);
\draw[->, thick] (n1n0n0n1n0n0n0n1n0) edge [near start, left] node {a} (n1n0n0n1n0n0n0n1n0n0);
\draw[->, thick] (n1n0n0n1n0n0n0n1n0) edge [near start, left] node {b} (n1n0n0n1n0n0n0n1n0n1);
\draw[->, thick] (n1n0n0n1n0n0n0n1n0n0) edge [near start, right, bend right] node {x1} (n1n0n0n1n0n0n0n1);
\draw[->, thick] (n1n0n0n1n0n0n0n1n0n0) edge [near start, right, bend right] node {x2} (n1n0n0n1n0n0n0n1);
\draw[->, thick] (n1n0n0n1n0n0n0n1n0n0) edge [near start, right, bend right] node {x3} (n1n0n0n1n0n0n0n1);
\draw[->, thick] (n1n0n0n1n0n0n0n1n0n1) edge [near start, left] node {a} (n1n0n0n1n0n0n0n1n0n1n0);
\draw[->, thick] (n1n0n0n1n0n0n0n1n0n1n0) edge [near start, left, bend left] node {x1} (n1n0n0n1n0n0n0n1);
\draw[->, thick] (n1n0n0n1n0n0n0n1n0n1n0) edge [near start, left, bend left] node {x2} (n1n0n0n1n0n0n0n1);
\draw[->, thick] (n1n0n0n1n0n0n0n1n0n1n0) edge [near start, left, bend left] node {x3} (n1n0n0n1n0n0n0n1);
\draw[->, thick] (n1n0n0n1n0n1) edge [near start, left, bend left] node {a} (n1n0n0n1n0);
\draw[->, thick] (n1n0n0n1n0n2) edge [near start, left] node {a} (n1n0n0n1n0n2n0);
\draw[->, thick] (n1n0n0n1n0n2n0) edge [near start, left] node {a} (n1n0n0n1n0n2n0n0);
\draw[->, thick] (n1n0n0n1n0n2n0) edge [near start, left] node {b} (n1n0n0n1n0n2n0n1);
\draw[->, thick] (n1n0n0n1n0n2n0n0) edge [near start, right, bend right] node {x1} (n1n0n0n1n0n2);
\draw[->, thick] (n1n0n0n1n0n2n0n0) edge [near start, right, bend right] node {x2} (n1n0n0n1n0n2);
\draw[->, thick] (n1n0n0n1n0n2n0n0) edge [near start, right, bend right] node {x3} (n1n0n0n1n0n2);
\draw[->, thick] (n1n0n0n1n0n2n0n1) edge [near start, left] node {a} (n1n0n0n1n0n2n0n1n0);
\draw[->, thick] (n1n0n0n1n0n2n0n1n0) edge [near start, left, bend left] node {x1} (n1n0n0n1n0n2);
\draw[->, thick] (n1n0n0n1n0n2n0n1n0) edge [near start, left, bend left] node {x2} (n1n0n0n1n0n2);
\draw[->, thick] (n1n0n0n1n0n2n0n1n0) edge [near start, left, bend left] node {x3} (n1n0n0n1n0n2);
\draw[->, thick] (n1n0n1) edge [near start, left, bend left] node {a} (n1n0);
\draw[->, thick] (n1n0n2) edge [near start, left] node {a} (n1n0n2n0);
\draw[->, thick] (n1n0n2n0) edge [near start, left] node {a} (n1n0n2n0n0);
\draw[->, thick] (n1n0n2n0) edge [near start, left] node {b} (n1n0n2n0n1);
\draw[->, thick] (n1n0n2n0n0) edge [near start, right, bend right] node {x1} (n1n0n2);
\draw[->, thick] (n1n0n2n0n0) edge [near start, right, bend right] node {x2} (n1n0n2);
\draw[->, thick] (n1n0n2n0n0) edge [near start, right, bend right] node {x3} (n1n0n2);
\draw[->, thick] (n1n0n2n0n1) edge [near start, left] node {a} (n1n0n2n0n1n0);
\draw[->, thick] (n1n0n2n0n1n0) edge [near start, left, bend left] node {x1} (n1n0n2);
\draw[->, thick] (n1n0n2n0n1n0) edge [near start, left, bend left] node {x2} (n1n0n2);
\draw[->, thick] (n1n0n2n0n1n0) edge [near start, left, bend left] node {x3} (n1n0n2);
\draw[->, thick] (n2) edge [near start, left] node {a} (n2n0);
\draw[->, thick] (n2n0) edge [near start, left] node {a} (n2n0n0);
\draw[->, thick] (n2n0) edge [near start, left] node {b} (n2n0n1);
\draw[->, thick] (n2n0n0) edge [near start, right, bend right] node {x1} (n2);
\draw[->, thick] (n2n0n0) edge [near start, right, bend right] node {x2} (n2);
\draw[->, thick] (n2n0n0) edge [near start, right, bend right] node {x3} (n2);
\draw[->, thick] (n2n0n1) edge [near start, left] node {a} (n2n0n1n0);
\draw[->, thick] (n2n0n1n0) edge [near start, left, bend left] node {x1} (n2);
\draw[->, thick] (n2n0n1n0) edge [near start, left, bend left] node {x2} (n2);
\draw[->, thick] (n2n0n1n0) edge [near start, left, bend left] node {x3} (n2);
\draw[->, thick] (n3) edge [near start, left] node {a} (n3n0);
\draw[->, thick] (n3) edge [near start, left] node {b} (n3n1);
\draw[->, thick] (n3n0) edge [near start, left] node {x1} (n3n0n0);
\draw[->, thick] (n3n0) edge [near start, left] node {x2} (n3n0n1);
\draw[->, thick] (n3n0) edge [near start, left] node {x3} (n3n0n2);
\draw[->, thick] (n3n0n0) edge [near start, right, bend right] node {a} (n3);
\draw[->, thick] (n3n0n1) edge [near start, right, bend right] node {a} (n3);
\draw[->, thick] (n3n0n2) edge [near start, right, bend right] node {a} (n3);
\draw[->, thick] (n3n1) edge [near start, left] node {a} (n3n1n0);
\draw[->, thick] (n3n1n0) edge [near start, left] node {x1} (n3n1n0n0);
\draw[->, thick] (n3n1n0) edge [near start, left] node {x2} (n3n1n0n1);
\draw[->, thick] (n3n1n0) edge [near start, left] node {x3} (n3n1n0n2);
\draw[->, thick] (n3n1n0n0) edge [near start, right, bend right] node {a} (n3);
\draw[->, thick] (n3n1n0n1) edge [near start, left, bend left] node {a} (n3);
\draw[->, thick] (n3n1n0n2) edge [near start, left, bend left] node {a} (n3);

\end{tikzpicture}
\end{tabular}}}
\end{center}
\end{document}
