\documentclass{article}
\usepackage{a4wide}
\usepackage{adjustbox}
\usepackage{fancyhdr}
\usepackage{tikz}
\usepackage{ifthen}
\usetikzlibrary{automata}
\usepackage{datetime}
\lhead{./certificates/march3testa1-march3testa2/sim-29554.tex}
\rhead{09:11:48.675 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 = 58
\begin{tikzpicture}[rotate = 0]
%\begin{tikzpicture}[rotate = 90]
\tikzset{initial text=$ $}

\node[accepting, state] at (22,-16) (n1n0n0n0n2n0n1n0) {$p!$\,\ifntiny{\tiny 31112}\fi};
\node[accepting, state] at (42,-10) (n1n1n0n2n0) {$p?$\,\ifntiny{\tiny 31114}\fi};
\node[accepting, state] at (49,-12) (n2n0n0n0n1n0) {$p!$\,\ifntiny{\tiny 29577}\fi};
\node[accepting, state] at (12,-6) (n0n0n2) {$p?$\,\ifntiny{\tiny 29624}\fi};
\node[state] at (22,-4) (n1n0) {$\cup$\,\ifntiny{\tiny 33319}\fi};
\node[accepting, state] at (21,-10) (n1n0n0n0n2) {$p?$\,\ifntiny{\tiny 31115}\fi};
\node[accepting, state] at (49,-10) (n2n0n0n0n1) {$p?$\,\ifntiny{\tiny 29578}\fi};
\node[accepting, state] at (34,-12) (n1n1n0n0n0n1) {$p?$\,\ifntiny{\tiny 29774}\fi};
\node[state] at (19,-6) (n1n0n0) {$p?$\,\ifntiny{\tiny 33318}\fi};
\node[accepting, state] at (43,-14) (n1n1n0n2n0n1n0) {$p!$\,\ifntiny{\tiny 31112}\fi};
\node[state] at (7,-2) (n0) {$p?$\,\ifntiny{\tiny 33301}\fi};
\node[accepting, state] at (5,-10) (n0n0n1n0n1) {$p?$\,\ifntiny{\tiny 30959}\fi};
\node[accepting, state] at (6,-16) (n0n0n1n0n1n0n1n0) {$p!$\,\ifntiny{\tiny 30956}\fi};
\node[state] at (30,-2) (n1) {$p?$\,\ifntiny{\tiny 33320}\fi};
\node[accepting, state] at (35,-18) (n1n1n0n0n0n1n0n1n0) {$p!$\,\ifntiny{\tiny 29771}\fi};
\node[accepting, state] at (13,-12) (n0n0n2n0n1n0) {$p!$\,\ifntiny{\tiny 29621}\fi};
\node[accepting, state] at (32,-16) (n1n1n0n0n0n1n0n0) {$p!$\,\ifntiny{\tiny 29760}\fi};
\node[accepting, state] at (21,-12) (n1n0n0n0n2n0) {$p?$\,\ifntiny{\tiny 31114}\fi};
\node[accepting, state] at (48,-4) (n2n0) {$p?$\,\ifntiny{\tiny 29581}\fi};
\node[state] at (4,-8) (n0n0n1n0) {$\cup$\,\ifntiny{\tiny 33298}\fi};
\node[accepting, state] at (46,-10) (n2n0n0n0n0) {$p!$\,\ifntiny{\tiny 29571}\fi};
\node[state] at (8,-8) (n0n0n1n1) {$p?$\,\ifntiny{\tiny 33295}\fi};
\node[accepting, state] at (27,-6) (n1n0n1) {$p?$\,\ifntiny{\tiny 29774}\fi};
\node[accepting, state] at (43,-12) (n1n1n0n2n0n1) {$p?$\,\ifntiny{\tiny 31113}\fi};
\node[state] at (34,-8) (n1n1n0n0) {$p?$\,\ifntiny{\tiny 33307}\fi};
\node[accepting, state] at (35,-16) (n1n1n0n0n0n1n0n1) {$p?$\,\ifntiny{\tiny 29772}\fi};
\node[state] at (16,-10) (n1n0n0n0n0) {$p?$\,\ifntiny{\tiny 33315}\fi};
\node[accepting, state] at (6,-14) (n0n0n1n0n1n0n1) {$p?$\,\ifntiny{\tiny 30957}\fi};
\node[accepting, state] at (27,-8) (n1n0n1n0) {$p?$\,\ifntiny{\tiny 29773}\fi};
\node[state] at (1,-10) (n0n0n1n0n0) {$p?$\,\ifntiny{\tiny 33297}\fi};
\node[accepting, state] at (5,-12) (n0n0n1n0n1n0) {$p?$\,\ifntiny{\tiny 30958}\fi};
\node[accepting, state] at (28,-10) (n1n0n1n0n1) {$p?$\,\ifntiny{\tiny 29772}\fi};
\node[accepting, state] at (34,-14) (n1n1n0n0n0n1n0) {$p?$\,\ifntiny{\tiny 29773}\fi};
\node[accepting, state] at (22,-14) (n1n0n0n0n2n0n1) {$p?$\,\ifntiny{\tiny 31113}\fi};
\node[accepting, state] at (3,-14) (n0n0n1n0n1n0n0) {$p!$\,\ifntiny{\tiny 30945}\fi};
\node[state] at (38,-8) (n1n1n0n1) {$p?$\,\ifntiny{\tiny 33308}\fi};
\node[initial, state] at (25,0) (n) {$\cup$\,\ifntiny{\tiny 33321}\fi};
\node[accepting, state] at (19,-14) (n1n0n0n0n2n0n0) {$p!$\,\ifntiny{\tiny 31101}\fi};
\node[state] at (0,-6) (n0n0n0) {$p?$\,\ifntiny{\tiny 33293}\fi};
\node[state] at (7,-4) (n0n0) {$\cup$\,\ifntiny{\tiny 33300}\fi};
\node[state] at (17,-10) (n1n0n0n0n1) {$p?$\,\ifntiny{\tiny 33316}\fi};
\node[accepting, state] at (13,-10) (n0n0n2n0n1) {$p?$\,\ifntiny{\tiny 29622}\fi};
\node[accepting, state] at (42,-8) (n1n1n0n2) {$p?$\,\ifntiny{\tiny 31115}\fi};
\node[state] at (33,-10) (n1n1n0n0n0) {$\cup$\,\ifntiny{\tiny 33306}\fi};
\node[accepting, state] at (48,-8) (n2n0n0n0) {$p?$\,\ifntiny{\tiny 29579}\fi};
\node[accepting, state] at (10,-10) (n0n0n2n0n0) {$p!$\,\ifntiny{\tiny 29615}\fi};
\node[state] at (5,-6) (n0n0n1) {$p?$\,\ifntiny{\tiny 33299}\fi};
\node[accepting, state] at (12,-8) (n0n0n2n0) {$p?$\,\ifntiny{\tiny 29623}\fi};
\node[state] at (37,-4) (n1n1) {$p?$\,\ifntiny{\tiny 33310}\fi};
\node[accepting, state] at (25,-10) (n1n0n1n0n0) {$p!$\,\ifntiny{\tiny 29760}\fi};
\node[accepting, state] at (28,-12) (n1n0n1n0n1n0) {$p!$\,\ifntiny{\tiny 29771}\fi};
\node[accepting, state] at (48,-6) (n2n0n0) {$p?$\,\ifntiny{\tiny 29580}\fi};
\node[accepting, state] at (40,-12) (n1n1n0n2n0n0) {$p!$\,\ifntiny{\tiny 31101}\fi};
\node[accepting, state] at (48,-2) (n2) {$p?$\,\ifntiny{\tiny 29582}\fi};
\node[state] at (30,-12) (n1n1n0n0n0n0) {$p?$\,\ifntiny{\tiny 33305}\fi};
\node[state] at (16,-12) (n1n0n0n0n0n1) {$p?$\,\ifntiny{\tiny 33314}\fi};
\node[state] at (37,-6) (n1n1n0) {$\cup$\,\ifntiny{\tiny 33309}\fi};
\node[state] at (19,-8) (n1n0n0n0) {$\cup$\,\ifntiny{\tiny 33317}\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} (n1n0);
\draw[->, thick] (n1n0n0n0n0) edge [near start, left] node {b} (n1n0n0n0n0n1);
\draw[->, thick] (n1n0n0n0n0n1) edge [near start, right, bend right] node {a} (n1n0n0n0);
\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] 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, left] node {a} (n1n1n0n0n0);
\draw[->, thick] (n1n1n0n0) edge [near start, right, bend right] node {b} (n1n1);
\draw[->, thick] (n1n1n0n0n0) edge [near start, left] node {} (n1n1n0n0n0n0);
\draw[->, thick] (n1n1n0n0n0) edge [near start, left] node {} (n1n1n0n0n0n1);
\draw[->, thick] (n1n1n0n0n0n0) edge [near start, right, bend right] node {a} (n1n1n0);
\draw[->, thick] (n1n1n0n0n0n1) edge [near start, left] node {a} (n1n1n0n0n0n1n0);
\draw[->, thick] (n1n1n0n0n0n1n0) edge [near start, left] node {a} (n1n1n0n0n0n1n0n0);
\draw[->, thick] (n1n1n0n0n0n1n0) edge [near start, left] node {b} (n1n1n0n0n0n1n0n1);
\draw[->, thick] (n1n1n0n0n0n1n0n0) edge [near start, right, bend right] node {x1} (n1n1n0n0n0n1);
\draw[->, thick] (n1n1n0n0n0n1n0n0) edge [near start, right, bend right] node {x2} (n1n1n0n0n0n1);
\draw[->, thick] (n1n1n0n0n0n1n0n0) edge [near start, right, bend right] node {x3} (n1n1n0n0n0n1);
\draw[->, thick] (n1n1n0n0n0n1n0n1) edge [near start, left] node {a} (n1n1n0n0n0n1n0n1n0);
\draw[->, thick] (n1n1n0n0n0n1n0n1n0) edge [near start, left, bend left] node {x1} (n1n1n0n0n0n1);
\draw[->, thick] (n1n1n0n0n0n1n0n1n0) edge [near start, left, bend left] node {x2} (n1n1n0n0n0n1);
\draw[->, thick] (n1n1n0n0n0n1n0n1n0) edge [near start, left, bend left] node {x3} (n1n1n0n0n0n1);
\draw[->, thick] (n1n1n0n1) edge [near start, left, bend left] 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] (n2n0n0) edge [near start, left] node {a} (n2n0n0n0);
\draw[->, thick] (n2n0n0n0) edge [near start, left] node {a} (n2n0n0n0n0);
\draw[->, thick] (n2n0n0n0) edge [near start, left] node {b} (n2n0n0n0n1);
\draw[->, thick] (n2n0n0n0n0) edge [near start, right, bend right] node {x1} (n2n0n0);
\draw[->, thick] (n2n0n0n0n0) edge [near start, right, bend right] node {x2} (n2n0n0);
\draw[->, thick] (n2n0n0n0n0) edge [near start, right, bend right] node {x3} (n2n0n0);
\draw[->, thick] (n2n0n0n0n1) edge [near start, left] node {a} (n2n0n0n0n1n0);
\draw[->, thick] (n2n0n0n0n1n0) edge [near start, left, bend left] node {x1} (n2n0n0);
\draw[->, thick] (n2n0n0n0n1n0) edge [near start, left, bend left] node {x2} (n2n0n0);
\draw[->, thick] (n2n0n0n0n1n0) edge [near start, left, bend left] node {x3} (n2n0n0);

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