\documentclass{article}
\usepackage{a4wide}
\usepackage{adjustbox}
\usepackage{fancyhdr}
\usepackage{tikz}
\usepackage{ifthen}
\usetikzlibrary{automata}
\usepackage{datetime}
\lhead{./certificates/march3testa1-march3testa2/sim-1719.tex}
\rhead{10:45:40.372 on 2025-03-31}
\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 (2,-14) (n0n0n0n0n1n0n0) {$p!$\,\ifntiny{\tiny 1767}\fi};
\node[state] at (36,-4) (n1n0) {$\cup$\,\ifntiny{\tiny 2487}\fi};
\node[accepting, state] at (49,-12) (n1n1n0n2n0n1) {$p?$\,\ifntiny{\tiny 1792}\fi};
\node[accepting, state] at (40,-8) (n1n0n1n0) {$p?$\,\ifntiny{\tiny 1775}\fi};
\node[accepting, state] at (60,-2) (n3) {$p?$\,\ifntiny{\tiny 1793}\fi};
\node[accepting, state] at (20,-18) (n0n0n0n1n0n2n0n1n0) {$p!$\,\ifntiny{\tiny 1791}\fi};
\node[accepting, state] at (24,-10) (n0n0n2n0n0) {$p!$\,\ifntiny{\tiny 1785}\fi};
\node[accepting, state] at (20,-16) (n0n0n0n1n0n2n0n1) {$p?$\,\ifntiny{\tiny 1792}\fi};
\node[accepting, state] at (35,-16) (n1n0n0n0n2n0n1n0) {$p!$\,\ifntiny{\tiny 1791}\fi};
\node[state] at (7,-16) (n0n0n0n1n0n0n0n0) {$p?$\,\ifntiny{\tiny 2456}\fi};
\node[accepting, state] at (5,-16) (n0n0n0n0n1n0n1n0) {$p!$\,\ifntiny{\tiny 1773}\fi};
\node[accepting, state] at (4,-10) (n0n0n0n0n1) {$p?$\,\ifntiny{\tiny 1776}\fi};
\node[state] at (40,-2) (n1) {$p?$\,\ifntiny{\tiny 2488}\fi};
\node[accepting, state] at (27,-12) (n0n0n2n0n1n0) {$p!$\,\ifntiny{\tiny 1791}\fi};
\node[accepting, state] at (34,-12) (n1n0n0n0n2n0) {$p?$\,\ifntiny{\tiny 1793}\fi};
\node[accepting, state] at (54,-4) (n2n0) {$p?$\,\ifntiny{\tiny 1775}\fi};
\node[accepting, state] at (48,-10) (n1n1n0n2n0) {$p?$\,\ifntiny{\tiny 1793}\fi};
\node[accepting, state] at (55,-6) (n2n0n1) {$p?$\,\ifntiny{\tiny 1774}\fi};
\node[accepting, state] at (5,-14) (n0n0n0n0n1n0n1) {$p?$\,\ifntiny{\tiny 1774}\fi};
\node[accepting, state] at (40,-6) (n1n0n1) {$p?$\,\ifntiny{\tiny 1776}\fi};
\node[accepting, state] at (11,-16) (n0n0n0n1n0n0n0n1) {$p?$\,\ifntiny{\tiny 1776}\fi};
\node[accepting, state] at (4,-12) (n0n0n0n0n1n0) {$p?$\,\ifntiny{\tiny 1775}\fi};
\node[state] at (15,-12) (n0n0n0n1n0n1) {$p?$\,\ifntiny{\tiny 2459}\fi};
\node[accepting, state] at (26,-6) (n0n0n2) {$p?$\,\ifntiny{\tiny 1794}\fi};
\node[state] at (14,-10) (n0n0n0n1n0) {$\cup$\,\ifntiny{\tiny 2460}\fi};
\node[accepting, state] at (34,-10) (n1n0n0n0n2) {$p?$\,\ifntiny{\tiny 1794}\fi};
\node[accepting, state] at (57,-6) (n3n0n0) {$p?$\,\ifntiny{\tiny 1794}\fi};
\node[accepting, state] at (41,-10) (n1n0n1n0n1) {$p?$\,\ifntiny{\tiny 1774}\fi};
\node[accepting, state] at (61,-4) (n3n1) {$p?$\,\ifntiny{\tiny 1792}\fi};
\node[accepting, state] at (60,-8) (n3n1n0n0) {$p?$\,\ifntiny{\tiny 1794}\fi};
\node[accepting, state] at (35,-14) (n1n0n0n0n2n0n1) {$p?$\,\ifntiny{\tiny 1792}\fi};
\node[state] at (44,-8) (n1n1n0n1) {$p?$\,\ifntiny{\tiny 2475}\fi};
\node[initial, state] at (31,0) (n) {$\cup$\,\ifntiny{\tiny 2489}\fi};
\node[accepting, state] at (58,-6) (n3n0n1) {$p?$\,\ifntiny{\tiny 1794}\fi};
\node[accepting, state] at (12,-20) (n0n0n0n1n0n0n0n1n0n1) {$p?$\,\ifntiny{\tiny 1774}\fi};
\node[accepting, state] at (32,-14) (n1n0n0n0n2n0n0) {$p!$\,\ifntiny{\tiny 1785}\fi};
\node[state] at (0,-10) (n0n0n0n0n0) {$p?$\,\ifntiny{\tiny 2463}\fi};
\node[state] at (3,-8) (n0n0n0n0) {$\cup$\,\ifntiny{\tiny 2464}\fi};
\node[state] at (11,-6) (n0n0n0) {$p?$\,\ifntiny{\tiny 2465}\fi};
\node[state] at (14,-4) (n0n0) {$\cup$\,\ifntiny{\tiny 2467}\fi};
\node[accepting, state] at (9,-20) (n0n0n0n1n0n0n0n1n0n0) {$p!$\,\ifntiny{\tiny 1767}\fi};
\node[state] at (30,-10) (n1n0n0n0n1) {$p?$\,\ifntiny{\tiny 2484}\fi};
\node[accepting, state] at (27,-10) (n0n0n2n0n1) {$p?$\,\ifntiny{\tiny 1792}\fi};
\node[accepting, state] at (48,-8) (n1n1n0n2) {$p?$\,\ifntiny{\tiny 1794}\fi};
\node[accepting, state] at (19,-12) (n0n0n0n1n0n2) {$p?$\,\ifntiny{\tiny 1794}\fi};
\node[state] at (10,-14) (n0n0n0n1n0n0n0) {$\cup$\,\ifntiny{\tiny 2457}\fi};
\node[accepting, state] at (19,-14) (n0n0n0n1n0n2n0) {$p?$\,\ifntiny{\tiny 1793}\fi};
\node[accepting, state] at (58,-4) (n3n0) {$p!$\,\ifntiny{\tiny 1785}\fi};
\node[state] at (22,-6) (n0n0n1) {$p?$\,\ifntiny{\tiny 2466}\fi};
\node[accepting, state] at (26,-8) (n0n0n2n0) {$p?$\,\ifntiny{\tiny 1793}\fi};
\node[state] at (47,-4) (n1n1) {$p?$\,\ifntiny{\tiny 2477}\fi};
\node[state] at (33,-6) (n1n0n0) {$p?$\,\ifntiny{\tiny 2486}\fi};
\node[state] at (14,-8) (n0n0n0n1) {$p?$\,\ifntiny{\tiny 2461}\fi};
\node[accepting, state] at (49,-14) (n1n1n0n2n0n1n0) {$p!$\,\ifntiny{\tiny 1791}\fi};
\node[accepting, state] at (17,-16) (n0n0n0n1n0n2n0n0) {$p!$\,\ifntiny{\tiny 1785}\fi};
\node[accepting, state] at (12,-22) (n0n0n0n1n0n0n0n1n0n1n0) {$p!$\,\ifntiny{\tiny 1773}\fi};
\node[accepting, state] at (61,-8) (n3n1n0n1) {$p?$\,\ifntiny{\tiny 1794}\fi};
\node[accepting, state] at (61,-6) (n3n1n0) {$p!$\,\ifntiny{\tiny 1791}\fi};
\node[accepting, state] at (11,-18) (n0n0n0n1n0n0n0n1n0) {$p?$\,\ifntiny{\tiny 1775}\fi};
\node[state] at (14,-2) (n0) {$p?$\,\ifntiny{\tiny 2468}\fi};
\node[accepting, state] at (59,-6) (n3n0n2) {$p?$\,\ifntiny{\tiny 1794}\fi};
\node[accepting, state] at (38,-10) (n1n0n1n0n0) {$p!$\,\ifntiny{\tiny 1767}\fi};
\node[accepting, state] at (41,-12) (n1n0n1n0n1n0) {$p!$\,\ifntiny{\tiny 1773}\fi};
\node[state] at (11,-12) (n0n0n0n1n0n0) {$p?$\,\ifntiny{\tiny 2458}\fi};
\node[accepting, state] at (52,-6) (n2n0n0) {$p!$\,\ifntiny{\tiny 1767}\fi};
\node[accepting, state] at (46,-12) (n1n1n0n2n0n0) {$p!$\,\ifntiny{\tiny 1785}\fi};
\node[accepting, state] at (55,-8) (n2n0n1n0) {$p!$\,\ifntiny{\tiny 1773}\fi};
\node[accepting, state] at (62,-8) (n3n1n0n2) {$p?$\,\ifntiny{\tiny 1794}\fi};
\node[accepting, state] at (54,-2) (n2) {$p?$\,\ifntiny{\tiny 1776}\fi};
\node[state] at (47,-6) (n1n1n0) {$\cup$\,\ifntiny{\tiny 2476}\fi};
\node[state] at (33,-8) (n1n0n0n0) {$\cup$\,\ifntiny{\tiny 2485}\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] (n0n0) edge [near start, left] node {} (n0n0n0);
\draw[->, thick] (n0n0) edge [near start, left] node {} (n0n0n1);
\draw[->, thick] (n0n0) edge [near start, left] node {} (n0n0n2);
\draw[->, thick] (n0n0n0) edge [near start, left] node {a} (n0n0n0n0);
\draw[->, thick] (n0n0n0) edge [near start, left] node {b} (n0n0n0n1);
\draw[->, thick] (n0n0n0n0) edge [near start, left] node {} (n0n0n0n0n0);
\draw[->, thick] (n0n0n0n0) edge [near start, left] node {} (n0n0n0n0n1);
\draw[->, thick] (n0n0n0n0n0) edge [near start, right, bend right] node {a} (n0n0);
\draw[->, thick] (n0n0n0n0n1) edge [near start, left] node {a} (n0n0n0n0n1n0);
\draw[->, thick] (n0n0n0n0n1n0) edge [near start, left] node {a} (n0n0n0n0n1n0n0);
\draw[->, thick] (n0n0n0n0n1n0) edge [near start, left] node {b} (n0n0n0n0n1n0n1);
\draw[->, thick] (n0n0n0n0n1n0n0) edge [near start, right, bend right] node {x1} (n0n0n0n0n1);
\draw[->, thick] (n0n0n0n0n1n0n0) edge [near start, right, bend right] node {x2} (n0n0n0n0n1);
\draw[->, thick] (n0n0n0n0n1n0n0) edge [near start, right, bend right] node {x3} (n0n0n0n0n1);
\draw[->, thick] (n0n0n0n0n1n0n1) edge [near start, left] node {a} (n0n0n0n0n1n0n1n0);
\draw[->, thick] (n0n0n0n0n1n0n1n0) edge [near start, left, bend left] node {x1} (n0n0n0n0n1);
\draw[->, thick] (n0n0n0n0n1n0n1n0) edge [near start, left, bend left] node {x2} (n0n0n0n0n1);
\draw[->, thick] (n0n0n0n0n1n0n1n0) edge [near start, left, bend left] node {x3} (n0n0n0n0n1);
\draw[->, thick] (n0n0n0n1) edge [near start, left] node {a} (n0n0n0n1n0);
\draw[->, thick] (n0n0n0n1n0) edge [near start, left] node {} (n0n0n0n1n0n0);
\draw[->, thick] (n0n0n0n1n0) edge [near start, left] node {} (n0n0n0n1n0n1);
\draw[->, thick] (n0n0n0n1n0) edge [near start, left] node {} (n0n0n0n1n0n2);
\draw[->, thick] (n0n0n0n1n0n0) edge [near start, left] node {a} (n0n0n0n1n0n0n0);
\draw[->, thick] (n0n0n0n1n0n0) edge [near start, right, bend right] node {b} (n0n0n0n1);
\draw[->, thick] (n0n0n0n1n0n0n0) edge [near start, left] node {} (n0n0n0n1n0n0n0n0);
\draw[->, thick] (n0n0n0n1n0n0n0) edge [near start, left] node {} (n0n0n0n1n0n0n0n1);
\draw[->, thick] (n0n0n0n1n0n0n0n0) edge [near start, right, bend right] node {a} (n0n0);
\draw[->, thick] (n0n0n0n1n0n0n0n1) edge [near start, left] node {a} (n0n0n0n1n0n0n0n1n0);
\draw[->, thick] (n0n0n0n1n0n0n0n1n0) edge [near start, left] node {a} (n0n0n0n1n0n0n0n1n0n0);
\draw[->, thick] (n0n0n0n1n0n0n0n1n0) edge [near start, left] node {b} (n0n0n0n1n0n0n0n1n0n1);
\draw[->, thick] (n0n0n0n1n0n0n0n1n0n0) edge [near start, right, bend right] node {x1} (n0n0n0n1n0n0n0n1);
\draw[->, thick] (n0n0n0n1n0n0n0n1n0n0) edge [near start, right, bend right] node {x2} (n0n0n0n1n0n0n0n1);
\draw[->, thick] (n0n0n0n1n0n0n0n1n0n0) edge [near start, right, bend right] node {x3} (n0n0n0n1n0n0n0n1);
\draw[->, thick] (n0n0n0n1n0n0n0n1n0n1) edge [near start, left] node {a} (n0n0n0n1n0n0n0n1n0n1n0);
\draw[->, thick] (n0n0n0n1n0n0n0n1n0n1n0) edge [near start, left, bend left] node {x1} (n0n0n0n1n0n0n0n1);
\draw[->, thick] (n0n0n0n1n0n0n0n1n0n1n0) edge [near start, left, bend left] node {x2} (n0n0n0n1n0n0n0n1);
\draw[->, thick] (n0n0n0n1n0n0n0n1n0n1n0) edge [near start, left, bend left] node {x3} (n0n0n0n1n0n0n0n1);
\draw[->, thick] (n0n0n0n1n0n1) edge [near start, left, bend left] node {a} (n0n0n0n1n0);
\draw[->, thick] (n0n0n0n1n0n2) edge [near start, left] node {a} (n0n0n0n1n0n2n0);
\draw[->, thick] (n0n0n0n1n0n2n0) edge [near start, left] node {a} (n0n0n0n1n0n2n0n0);
\draw[->, thick] (n0n0n0n1n0n2n0) edge [near start, left] node {b} (n0n0n0n1n0n2n0n1);
\draw[->, thick] (n0n0n0n1n0n2n0n0) edge [near start, right, bend right] node {x1} (n0n0n0n1n0n2);
\draw[->, thick] (n0n0n0n1n0n2n0n0) edge [near start, right, bend right] node {x2} (n0n0n0n1n0n2);
\draw[->, thick] (n0n0n0n1n0n2n0n0) edge [near start, right, bend right] node {x3} (n0n0n0n1n0n2);
\draw[->, thick] (n0n0n0n1n0n2n0n1) edge [near start, left] node {a} (n0n0n0n1n0n2n0n1n0);
\draw[->, thick] (n0n0n0n1n0n2n0n1n0) edge [near start, left, bend left] node {x1} (n0n0n0n1n0n2);
\draw[->, thick] (n0n0n0n1n0n2n0n1n0) edge [near start, left, bend left] node {x2} (n0n0n0n1n0n2);
\draw[->, thick] (n0n0n0n1n0n2n0n1n0) edge [near start, left, bend left] node {x3} (n0n0n0n1n0n2);
\draw[->, thick] (n0n0n1) edge [near start, left, bend left] node {a} (n0n0);
\draw[->, thick] (n0n0n2) edge [near start, left] node {a} (n0n0n2n0);
\draw[->, thick] (n0n0n2n0) edge [near start, left] node {a} (n0n0n2n0n0);
\draw[->, thick] (n0n0n2n0) edge [near start, left] node {b} (n0n0n2n0n1);
\draw[->, thick] (n0n0n2n0n0) edge [near start, right, bend right] node {x1} (n0n0n2);
\draw[->, thick] (n0n0n2n0n0) edge [near start, right, bend right] node {x2} (n0n0n2);
\draw[->, thick] (n0n0n2n0n0) edge [near start, right, bend right] node {x3} (n0n0n2);
\draw[->, thick] (n0n0n2n0n1) edge [near start, left] node {a} (n0n0n2n0n1n0);
\draw[->, thick] (n0n0n2n0n1n0) edge [near start, left, bend left] node {x1} (n0n0n2);
\draw[->, thick] (n0n0n2n0n1n0) edge [near start, left, bend left] node {x2} (n0n0n2);
\draw[->, thick] (n0n0n2n0n1n0) edge [near start, left, bend left] node {x3} (n0n0n2);
\draw[->, thick] (n1) edge [near start, left] node {a} (n1n0);
\draw[->, thick] (n1) edge [near start, left] node {b} (n1n1);
\draw[->, thick] (n1n0) edge [near start, left] node {} (n1n0n0);
\draw[->, thick] (n1n0) edge [near start, left] node {} (n1n0n1);
\draw[->, thick] (n1n0n0) edge [near start, left] node {a} (n1n0n0n0);
\draw[->, thick] (n1n0n0n0) edge [near start, right, bend right] node {} (n1);
\draw[->, thick] (n1n0n0n0) edge [near start, left] node {} (n1n0n0n0n1);
\draw[->, thick] (n1n0n0n0) edge [near start, left] node {} (n1n0n0n0n2);
\draw[->, thick] (n1n0n0n0n1) edge [near start, right, bend right] node {a} (n1n0n0n0);
\draw[->, thick] (n1n0n0n0n2) edge [near start, left] node {a} (n1n0n0n0n2n0);
\draw[->, thick] (n1n0n0n0n2n0) edge [near start, left] node {a} (n1n0n0n0n2n0n0);
\draw[->, thick] (n1n0n0n0n2n0) edge [near start, left] node {b} (n1n0n0n0n2n0n1);
\draw[->, thick] (n1n0n0n0n2n0n0) edge [near start, right, bend right] node {x1} (n1n0n0n0n2);
\draw[->, thick] (n1n0n0n0n2n0n0) edge [near start, right, bend right] node {x2} (n1n0n0n0n2);
\draw[->, thick] (n1n0n0n0n2n0n0) edge [near start, right, bend right] node {x3} (n1n0n0n0n2);
\draw[->, thick] (n1n0n0n0n2n0n1) edge [near start, left] node {a} (n1n0n0n0n2n0n1n0);
\draw[->, thick] (n1n0n0n0n2n0n1n0) edge [near start, left, bend left] node {x1} (n1n0n0n0n2);
\draw[->, thick] (n1n0n0n0n2n0n1n0) edge [near start, left, bend left] node {x2} (n1n0n0n0n2);
\draw[->, thick] (n1n0n0n0n2n0n1n0) edge [near start, left, bend left] node {x3} (n1n0n0n0n2);
\draw[->, thick] (n1n0n1) edge [near start, left] node {a} (n1n0n1n0);
\draw[->, thick] (n1n0n1n0) edge [near start, left] node {a} (n1n0n1n0n0);
\draw[->, thick] (n1n0n1n0) edge [near start, left] node {b} (n1n0n1n0n1);
\draw[->, thick] (n1n0n1n0n0) edge [near start, right, bend right] node {x1} (n1n0n1);
\draw[->, thick] (n1n0n1n0n0) edge [near start, right, bend right] node {x2} (n1n0n1);
\draw[->, thick] (n1n0n1n0n0) edge [near start, right, bend right] node {x3} (n1n0n1);
\draw[->, thick] (n1n0n1n0n1) edge [near start, left] node {a} (n1n0n1n0n1n0);
\draw[->, thick] (n1n0n1n0n1n0) edge [near start, left, bend left] node {x1} (n1n0n1);
\draw[->, thick] (n1n0n1n0n1n0) edge [near start, left, bend left] node {x2} (n1n0n1);
\draw[->, thick] (n1n0n1n0n1n0) edge [near start, left, bend left] node {x3} (n1n0n1);
\draw[->, thick] (n1n1) edge [near start, left] node {a} (n1n1n0);
\draw[->, thick] (n1n1n0) edge [near start, left, bend left] node {} (n1);
\draw[->, thick] (n1n1n0) edge [near start, left] node {} (n1n1n0n1);
\draw[->, thick] (n1n1n0) edge [near start, left] node {} (n1n1n0n2);
\draw[->, thick] (n1n1n0n1) edge [near start, right, bend right] node {a} (n1n1n0);
\draw[->, thick] (n1n1n0n2) edge [near start, left] node {a} (n1n1n0n2n0);
\draw[->, thick] (n1n1n0n2n0) edge [near start, left] node {a} (n1n1n0n2n0n0);
\draw[->, thick] (n1n1n0n2n0) edge [near start, left] node {b} (n1n1n0n2n0n1);
\draw[->, thick] (n1n1n0n2n0n0) edge [near start, right, bend right] node {x1} (n1n1n0n2);
\draw[->, thick] (n1n1n0n2n0n0) edge [near start, right, bend right] node {x2} (n1n1n0n2);
\draw[->, thick] (n1n1n0n2n0n0) edge [near start, right, bend right] node {x3} (n1n1n0n2);
\draw[->, thick] (n1n1n0n2n0n1) edge [near start, left] node {a} (n1n1n0n2n0n1n0);
\draw[->, thick] (n1n1n0n2n0n1n0) edge [near start, left, bend left] node {x1} (n1n1n0n2);
\draw[->, thick] (n1n1n0n2n0n1n0) edge [near start, left, bend left] node {x2} (n1n1n0n2);
\draw[->, thick] (n1n1n0n2n0n1n0) edge [near start, left, bend left] node {x3} (n1n1n0n2);
\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}
