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

\node[accepting, state] at (21,-16) (n1n0n0n0n2n0n1n0) {$p!$\,\ifntiny{\tiny 29621}\fi};
\node[accepting, state] at (12,-6) (n0n0n2) {$p?$\,\ifntiny{\tiny 29624}\fi};
\node[state] at (22,-4) (n1n0) {$\cup$\,\ifntiny{\tiny 30275}\fi};
\node[accepting, state] at (20,-10) (n1n0n0n0n2) {$p?$\,\ifntiny{\tiny 29624}\fi};
\node[accepting, state] at (46,-2) (n3) {$p?$\,\ifntiny{\tiny 29581}\fi};
\node[accepting, state] at (10,-10) (n0n0n2n0n0) {$p!$\,\ifntiny{\tiny 29615}\fi};
\node[accepting, state] at (46,-4) (n3n0) {$p?$\,\ifntiny{\tiny 29580}\fi};
\node[state] at (19,-6) (n1n0n0) {$p?$\,\ifntiny{\tiny 30274}\fi};
\node[state] at (7,-2) (n0) {$p?$\,\ifntiny{\tiny 30256}\fi};
\node[accepting, state] at (5,-10) (n0n0n1n0n1) {$p?$\,\ifntiny{\tiny 30125}\fi};
\node[state] at (26,-2) (n1) {$p?$\,\ifntiny{\tiny 30276}\fi};
\node[accepting, state] at (6,-16) (n0n0n1n0n1n0n1n0) {$p!$\,\ifntiny{\tiny 30122}\fi};
\node[accepting, state] at (44,-8) (n3n0n0n0) {$p!$\,\ifntiny{\tiny 29571}\fi};
\node[accepting, state] at (13,-12) (n0n0n2n0n1n0) {$p!$\,\ifntiny{\tiny 29621}\fi};
\node[accepting, state] at (20,-12) (n1n0n0n0n2n0) {$p?$\,\ifntiny{\tiny 29623}\fi};
\node[accepting, state] at (40,-4) (n2n0) {$p?$\,\ifntiny{\tiny 29623}\fi};
\node[accepting, state] at (34,-10) (n1n1n0n2n0) {$p?$\,\ifntiny{\tiny 29623}\fi};
\node[accepting, state] at (41,-6) (n2n0n1) {$p?$\,\ifntiny{\tiny 29622}\fi};
\node[state] at (4,-8) (n0n0n1n0) {$\cup$\,\ifntiny{\tiny 30253}\fi};
\node[state] at (8,-8) (n0n0n1n1) {$p?$\,\ifntiny{\tiny 30248}\fi};
\node[accepting, state] at (26,-6) (n1n0n1) {$p?$\,\ifntiny{\tiny 30125}\fi};
\node[accepting, state] at (35,-12) (n1n1n0n2n0n1) {$p?$\,\ifntiny{\tiny 29622}\fi};
\node[state] at (29,-8) (n1n1n0n0) {$p?$\,\ifntiny{\tiny 30263}\fi};
\node[state] at (15,-10) (n1n0n0n0n0) {$p?$\,\ifntiny{\tiny 30272}\fi};
\node[accepting, state] at (6,-14) (n0n0n1n0n1n0n1) {$p?$\,\ifntiny{\tiny 30123}\fi};
\node[accepting, state] at (26,-8) (n1n0n1n0) {$p?$\,\ifntiny{\tiny 30124}\fi};
\node[state] at (1,-10) (n0n0n1n0n0) {$p?$\,\ifntiny{\tiny 30252}\fi};
\node[accepting, state] at (46,-6) (n3n0n0) {$p?$\,\ifntiny{\tiny 29579}\fi};
\node[accepting, state] at (5,-12) (n0n0n1n0n1n0) {$p?$\,\ifntiny{\tiny 30124}\fi};
\node[accepting, state] at (27,-10) (n1n0n1n0n1) {$p?$\,\ifntiny{\tiny 30123}\fi};
\node[accepting, state] at (21,-14) (n1n0n0n0n2n0n1) {$p?$\,\ifntiny{\tiny 29622}\fi};
\node[accepting, state] at (3,-14) (n0n0n1n0n1n0n0) {$p!$\,\ifntiny{\tiny 30111}\fi};
\node[initial, state] at (24,0) (n) {$\cup$\,\ifntiny{\tiny 30277}\fi};
\node[accepting, state] at (18,-14) (n1n0n0n0n2n0n0) {$p!$\,\ifntiny{\tiny 29615}\fi};
\node[state] at (7,-4) (n0n0) {$\cup$\,\ifntiny{\tiny 30255}\fi};
\node[accepting, state] at (13,-10) (n0n0n2n0n1) {$p?$\,\ifntiny{\tiny 29622}\fi};
\node[accepting, state] at (34,-8) (n1n1n0n2) {$p?$\,\ifntiny{\tiny 29624}\fi};
\node[state] at (5,-6) (n0n0n1) {$p?$\,\ifntiny{\tiny 30254}\fi};
\node[accepting, state] at (12,-8) (n0n0n2n0) {$p?$\,\ifntiny{\tiny 29623}\fi};
\node[state] at (33,-4) (n1n1) {$p?$\,\ifntiny{\tiny 30265}\fi};
\node[accepting, state] at (35,-14) (n1n1n0n2n0n1n0) {$p!$\,\ifntiny{\tiny 29621}\fi};
\node[accepting, state] at (47,-8) (n3n0n0n1) {$p?$\,\ifntiny{\tiny 29578}\fi};
\node[accepting, state] at (24,-10) (n1n0n1n0n0) {$p!$\,\ifntiny{\tiny 30111}\fi};
\node[accepting, state] at (27,-12) (n1n0n1n0n1n0) {$p!$\,\ifntiny{\tiny 30122}\fi};
\node[accepting, state] at (38,-6) (n2n0n0) {$p!$\,\ifntiny{\tiny 29615}\fi};
\node[accepting, state] at (32,-12) (n1n1n0n2n0n0) {$p!$\,\ifntiny{\tiny 29615}\fi};
\node[accepting, state] at (41,-8) (n2n0n1n0) {$p!$\,\ifntiny{\tiny 29621}\fi};
\node[accepting, state] at (40,-2) (n2) {$p?$\,\ifntiny{\tiny 29624}\fi};
\node[accepting, state] at (47,-10) (n3n0n0n1n0) {$p!$\,\ifntiny{\tiny 29577}\fi};
\node[state] at (33,-6) (n1n1n0) {$\cup$\,\ifntiny{\tiny 30264}\fi};
\node[state] at (19,-8) (n1n0n0n0) {$\cup$\,\ifntiny{\tiny 30273}\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, right, bend right] node {} (n0);
\draw[->, thick] (n0n0) edge [near start, left] node {} (n0n0n1);
\draw[->, thick] (n0n0) edge [near start, left] node {} (n0n0n2);
\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, right, bend right] node {} (n1);
\draw[->, thick] (n1n0n0n0) edge [near start, left] node {} (n1n0n0n0n2);
\draw[->, thick] (n1n0n0n0n0) 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, bend left] node {} (n1);
\draw[->, thick] (n1n1n0) edge [near start, left] node {} (n1n1n0n2);
\draw[->, thick] (n1n1n0n0) 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] (n3n0) edge [near start, left] node {a} (n3n0n0);
\draw[->, thick] (n3n0n0) edge [near start, left] node {a} (n3n0n0n0);
\draw[->, thick] (n3n0n0) edge [near start, left] node {b} (n3n0n0n1);
\draw[->, thick] (n3n0n0n0) edge [near start, right, bend right] node {x1} (n3n0);
\draw[->, thick] (n3n0n0n0) edge [near start, right, bend right] node {x2} (n3n0);
\draw[->, thick] (n3n0n0n0) edge [near start, right, bend right] node {x3} (n3n0);
\draw[->, thick] (n3n0n0n1) edge [near start, left] node {a} (n3n0n0n1n0);
\draw[->, thick] (n3n0n0n1n0) edge [near start, left, bend left] node {x1} (n3n0);
\draw[->, thick] (n3n0n0n1n0) edge [near start, left, bend left] node {x2} (n3n0);
\draw[->, thick] (n3n0n0n1n0) edge [near start, left, bend left] node {x3} (n3n0);

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