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

\node[accepting, state] at (42,-10) (n1n1n0n2n0) {$p?$\,\ifntiny{\tiny 879}\fi};
\node[accepting, state] at (12,-6) (n0n0n2) {$p?$\,\ifntiny{\tiny 162}\fi};
\node[accepting, state] at (49,-8) (n2n0n0n1) {$p?$\,\ifntiny{\tiny 30}\fi};
\node[state] at (19,-6) (n1n0n0) {$p?$\,\ifntiny{\tiny 17064}\fi};
\node[accepting, state] at (43,-14) (n1n1n0n2n0n1n0) {$p!$\,\ifntiny{\tiny 877}\fi};
\node[accepting, state] at (22,-16) (n1n0n0n0n2n0n1n0) {$p!$\,\ifntiny{\tiny 877}\fi};
\node[state] at (31,-12) (n1n1n0n1n0n0) {$p?$\,\ifntiny{\tiny 17052}\fi};
\node[accepting, state] at (5,-10) (n0n0n1n0n1) {$p?$\,\ifntiny{\tiny 133}\fi};
\node[accepting, state] at (6,-16) (n0n0n1n0n1n0n1n0) {$p!$\,\ifntiny{\tiny 130}\fi};
\node[state] at (30,-2) (n1) {$p?$\,\ifntiny{\tiny 17066}\fi};
\node[accepting, state] at (13,-12) (n0n0n2n0n1n0) {$p!$\,\ifntiny{\tiny 159}\fi};
\node[accepting, state] at (36,-16) (n1n1n0n1n0n1n0n1) {$p?$\,\ifntiny{\tiny 2384}\fi};
\node[accepting, state] at (21,-12) (n1n0n0n0n2n0) {$p?$\,\ifntiny{\tiny 879}\fi};
\node[accepting, state] at (48,-4) (n2n0) {$p?$\,\ifntiny{\tiny 32}\fi};
\node[state] at (4,-8) (n0n0n1n0) {$\cup$\,\ifntiny{\tiny 17044}\fi};
\node[state] at (8,-8) (n0n0n1n1) {$p?$\,\ifntiny{\tiny 17041}\fi};
\node[accepting, state] at (27,-6) (n1n0n1) {$p?$\,\ifntiny{\tiny 2386}\fi};
\node[state] at (22,-4) (n1n0) {$\cup$\,\ifntiny{\tiny 17065}\fi};
\node[state] at (17,-12) (n1n0n0n0n1n1) {$p?$\,\ifntiny{\tiny 17061}\fi};
\node[accepting, state] at (21,-10) (n1n0n0n0n2) {$p?$\,\ifntiny{\tiny 880}\fi};
\node[state] at (34,-10) (n1n1n0n1n0) {$\cup$\,\ifntiny{\tiny 17053}\fi};
\node[accepting, state] at (43,-12) (n1n1n0n2n0n1) {$p?$\,\ifntiny{\tiny 878}\fi};
\node[state] at (30,-8) (n1n1n0n0) {$p?$\,\ifntiny{\tiny 17050}\fi};
\node[state] at (15,-10) (n1n0n0n0n0) {$p?$\,\ifntiny{\tiny 17059}\fi};
\node[accepting, state] at (6,-14) (n0n0n1n0n1n0n1) {$p?$\,\ifntiny{\tiny 131}\fi};
\node[accepting, state] at (27,-8) (n1n0n1n0) {$p?$\,\ifntiny{\tiny 2385}\fi};
\node[state] at (1,-10) (n0n0n1n0n0) {$p?$\,\ifntiny{\tiny 17043}\fi};
\node[accepting, state] at (5,-12) (n0n0n1n0n1n0) {$p?$\,\ifntiny{\tiny 132}\fi};
\node[accepting, state] at (28,-10) (n1n0n1n0n1) {$p?$\,\ifntiny{\tiny 2384}\fi};
\node[accepting, state] at (22,-14) (n1n0n0n0n2n0n1) {$p?$\,\ifntiny{\tiny 878}\fi};
\node[accepting, state] at (3,-14) (n0n0n1n0n1n0n0) {$p!$\,\ifntiny{\tiny 119}\fi};
\node[state] at (35,-8) (n1n1n0n1) {$p?$\,\ifntiny{\tiny 17054}\fi};
\node[initial, state] at (25,0) (n) {$\cup$\,\ifntiny{\tiny 17067}\fi};
\node[accepting, state] at (19,-14) (n1n0n0n0n2n0n0) {$p!$\,\ifntiny{\tiny 856}\fi};
\node[state] at (0,-6) (n0n0n0) {$p?$\,\ifntiny{\tiny 17039}\fi};
\node[state] at (7,-4) (n0n0) {$\cup$\,\ifntiny{\tiny 17046}\fi};
\node[state] at (17,-10) (n1n0n0n0n1) {$p?$\,\ifntiny{\tiny 17062}\fi};
\node[accepting, state] at (33,-16) (n1n1n0n1n0n1n0n0) {$p!$\,\ifntiny{\tiny 2372}\fi};
\node[accepting, state] at (13,-10) (n0n0n2n0n1) {$p?$\,\ifntiny{\tiny 160}\fi};
\node[accepting, state] at (42,-8) (n1n1n0n2) {$p?$\,\ifntiny{\tiny 880}\fi};
\node[accepting, state] at (46,-8) (n2n0n0n0) {$p!$\,\ifntiny{\tiny 23}\fi};
\node[accepting, state] at (10,-10) (n0n0n2n0n0) {$p!$\,\ifntiny{\tiny 148}\fi};
\node[state] at (5,-6) (n0n0n1) {$p?$\,\ifntiny{\tiny 17045}\fi};
\node[accepting, state] at (12,-8) (n0n0n2n0) {$p?$\,\ifntiny{\tiny 161}\fi};
\node[accepting, state] at (36,-18) (n1n1n0n1n0n1n0n1n0) {$p!$\,\ifntiny{\tiny 2383}\fi};
\node[state] at (37,-4) (n1n1) {$p?$\,\ifntiny{\tiny 17056}\fi};
\node[state] at (7,-2) (n0) {$p?$\,\ifntiny{\tiny 17047}\fi};
\node[accepting, state] at (49,-10) (n2n0n0n1n0) {$p!$\,\ifntiny{\tiny 29}\fi};
\node[accepting, state] at (25,-10) (n1n0n1n0n0) {$p!$\,\ifntiny{\tiny 2372}\fi};
\node[accepting, state] at (28,-12) (n1n0n1n0n1n0) {$p!$\,\ifntiny{\tiny 2383}\fi};
\node[accepting, state] at (35,-12) (n1n1n0n1n0n1) {$p?$\,\ifntiny{\tiny 2386}\fi};
\node[accepting, state] at (48,-6) (n2n0n0) {$p?$\,\ifntiny{\tiny 31}\fi};
\node[accepting, state] at (40,-12) (n1n1n0n2n0n0) {$p!$\,\ifntiny{\tiny 856}\fi};
\node[accepting, state] at (35,-14) (n1n1n0n1n0n1n0) {$p?$\,\ifntiny{\tiny 2385}\fi};
\node[accepting, state] at (48,-2) (n2) {$p?$\,\ifntiny{\tiny 33}\fi};
\node[state] at (37,-6) (n1n1n0) {$\cup$\,\ifntiny{\tiny 17055}\fi};
\node[state] at (19,-8) (n1n0n0n0) {$\cup$\,\ifntiny{\tiny 17063}\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] (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, right, bend right] node {a} (n0n0);
\draw[->, thick] (n0n0n1) edge [near start, left] node {a} (n0n0n1n0);
\draw[->, thick] (n0n0n1) edge [near start, left] node {b} (n0n0n1n1);
\draw[->, thick] (n0n0n1n0) edge [near start, left] node {} (n0n0n1n0n0);
\draw[->, thick] (n0n0n1n0) edge [near start, left] node {} (n0n0n1n0n1);
\draw[->, thick] (n0n0n1n0n0) edge [near start, right, bend right] node {a} (n0n0);
\draw[->, thick] (n0n0n1n0n1) edge [near start, left] node {a} (n0n0n1n0n1n0);
\draw[->, thick] (n0n0n1n0n1n0) edge [near start, left] node {a} (n0n0n1n0n1n0n0);
\draw[->, thick] (n0n0n1n0n1n0) edge [near start, left] node {b} (n0n0n1n0n1n0n1);
\draw[->, thick] (n0n0n1n0n1n0n0) edge [near start, right, bend right] node {x1} (n0n0n1n0n1);
\draw[->, thick] (n0n0n1n0n1n0n0) edge [near start, right, bend right] node {x2} (n0n0n1n0n1);
\draw[->, thick] (n0n0n1n0n1n0n0) edge [near start, right, bend right] node {x3} (n0n0n1n0n1);
\draw[->, thick] (n0n0n1n0n1n0n1) edge [near start, left] node {a} (n0n0n1n0n1n0n1n0);
\draw[->, thick] (n0n0n1n0n1n0n1n0) edge [near start, left, bend left] node {x1} (n0n0n1n0n1);
\draw[->, thick] (n0n0n1n0n1n0n1n0) edge [near start, left, bend left] node {x2} (n0n0n1n0n1);
\draw[->, thick] (n0n0n1n0n1n0n1n0) edge [near start, left, bend left] node {x3} (n0n0n1n0n1);
\draw[->, thick] (n0n0n1n1) 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, left] node {} (n1n0n0n0n0);
\draw[->, thick] (n1n0n0n0) edge [near start, left] node {} (n1n0n0n0n1);
\draw[->, thick] (n1n0n0n0) edge [near start, left] node {} (n1n0n0n0n2);
\draw[->, thick] (n1n0n0n0n0) edge [near start, right, bend right] node {a} (n1n0n0n0);
\draw[->, thick] (n1n0n0n0n1) edge [near start, right, bend right] node {a} (n1n0);
\draw[->, thick] (n1n0n0n0n1) edge [near start, left] node {b} (n1n0n0n0n1n1);
\draw[->, thick] (n1n0n0n0n1n1) 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] node {} (n1n1n0n0);
\draw[->, thick] (n1n1n0) edge [near start, left] node {} (n1n1n0n1);
\draw[->, thick] (n1n1n0) edge [near start, left] node {} (n1n1n0n2);
\draw[->, thick] (n1n1n0n0) edge [near start, right, bend right] node {a} (n1n1n0);
\draw[->, thick] (n1n1n0n1) edge [near start, left] node {a} (n1n1n0n1n0);
\draw[->, thick] (n1n1n0n1) edge [near start, right, bend right] node {b} (n1n1);
\draw[->, thick] (n1n1n0n1n0) edge [near start, left] node {} (n1n1n0n1n0n0);
\draw[->, thick] (n1n1n0n1n0) edge [near start, left] node {} (n1n1n0n1n0n1);
\draw[->, thick] (n1n1n0n1n0n0) edge [near start, right, bend right] node {a} (n1n1n0);
\draw[->, thick] (n1n1n0n1n0n1) edge [near start, left] node {a} (n1n1n0n1n0n1n0);
\draw[->, thick] (n1n1n0n1n0n1n0) edge [near start, left] node {a} (n1n1n0n1n0n1n0n0);
\draw[->, thick] (n1n1n0n1n0n1n0) edge [near start, left] node {b} (n1n1n0n1n0n1n0n1);
\draw[->, thick] (n1n1n0n1n0n1n0n0) edge [near start, right, bend right] node {x1} (n1n1n0n1n0n1);
\draw[->, thick] (n1n1n0n1n0n1n0n0) edge [near start, right, bend right] node {x2} (n1n1n0n1n0n1);
\draw[->, thick] (n1n1n0n1n0n1n0n0) edge [near start, right, bend right] node {x3} (n1n1n0n1n0n1);
\draw[->, thick] (n1n1n0n1n0n1n0n1) edge [near start, left] node {a} (n1n1n0n1n0n1n0n1n0);
\draw[->, thick] (n1n1n0n1n0n1n0n1n0) edge [near start, left, bend left] node {x1} (n1n1n0n1n0n1);
\draw[->, thick] (n1n1n0n1n0n1n0n1n0) edge [near start, left, bend left] node {x2} (n1n1n0n1n0n1);
\draw[->, thick] (n1n1n0n1n0n1n0n1n0) edge [near start, left, bend left] node {x3} (n1n1n0n1n0n1);
\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] (n2n0n0) edge [near start, left] node {a} (n2n0n0n0);
\draw[->, thick] (n2n0n0) edge [near start, left] node {b} (n2n0n0n1);
\draw[->, thick] (n2n0n0n0) edge [near start, right, bend right] node {x1} (n2n0);
\draw[->, thick] (n2n0n0n0) edge [near start, right, bend right] node {x2} (n2n0);
\draw[->, thick] (n2n0n0n0) edge [near start, right, bend right] node {x3} (n2n0);
\draw[->, thick] (n2n0n0n1) edge [near start, left] node {a} (n2n0n0n1n0);
\draw[->, thick] (n2n0n0n1n0) edge [near start, left, bend left] node {x1} (n2n0);
\draw[->, thick] (n2n0n0n1n0) edge [near start, left, bend left] node {x2} (n2n0);
\draw[->, thick] (n2n0n0n1n0) edge [near start, left, bend left] node {x3} (n2n0);

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