\documentclass{article}
\usepackage{a4wide}
\usepackage{adjustbox}
\usepackage{fancyhdr}
\usepackage{tikz}
\usepackage{ifthen}
\usetikzlibrary{automata}
\usepackage{datetime}
\lhead{./certificates/march3testa1-march3testb2/sim-5806.tex}
\rhead{10:46:59.334 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 = 67
\begin{tikzpicture}[rotate = 0]
%\begin{tikzpicture}[rotate = 90]
\tikzset{initial text=$ $}

\node[accepting, state] at (20,-4) (n2n0) {$p?$\,\ifntiny{\tiny 5839}\fi};
\node[accepting, state] at (17,-10) (n1n0n4n0n0) {$p?$\,\ifntiny{\tiny 7407}\fi};
\node[accepting, state] at (3,-12) (n0n0n0n2n0n0) {$p!$\,\ifntiny{\tiny 8075}\fi};
\node[state] at (13,-4) (n1n0) {$\cup$\,\ifntiny{\tiny 8400}\fi};
\node[accepting, state] at (23,-2) (n3) {$p?$\,\ifntiny{\tiny 5861}\fi};
\node[accepting, state] at (6,-14) (n0n0n0n3n0n0n0) {$p!$\,\ifntiny{\tiny 7249}\fi};
\node[accepting, state] at (11,-10) (n1n0n2n0n0) {$p!$\,\ifntiny{\tiny 6221}\fi};
\node[accepting, state] at (20,-6) (n2n0n0) {$p!$\,\ifntiny{\tiny 5838}\fi};
\node[accepting, state] at (19,-12) (n2n0n0n0n0n0) {$p?$\,\ifntiny{\tiny 5825}\fi};
\node[accepting, state] at (14,-10) (n1n0n3n0n0) {$p!$\,\ifntiny{\tiny 6525}\fi};
\node[accepting, state] at (14,-12) (n1n0n3n0n0n1) {$p?$\,\ifntiny{\tiny 6523}\fi};
\node[accepting, state] at (23,-8) (n3n0n0n0) {$p!$\,\ifntiny{\tiny 5858}\fi};
\node[accepting, state] at (17,-6) (n1n0n4) {$p?$\,\ifntiny{\tiny 7409}\fi};
\node[accepting, state] at (6,-12) (n0n0n0n3n0n0) {$p?$\,\ifntiny{\tiny 7250}\fi};
\node[state] at (13,-2) (n1) {$p?$\,\ifntiny{\tiny 8401}\fi};
\node[accepting, state] at (19,-10) (n2n0n0n0n0) {$p?$\,\ifntiny{\tiny 5826}\fi};
\node[accepting, state] at (23,-12) (n3n0n0n0n1n0) {$p?$\,\ifntiny{\tiny 5851}\fi};
\node[state] at (9,-6) (n1n0n1) {$p?$\,\ifntiny{\tiny 8399}\fi};
\node[accepting, state] at (2,-16) (n0n0n0n2n0n0n0n0) {$p?$\,\ifntiny{\tiny 8052}\fi};
\node[accepting, state] at (17,-12) (n1n0n4n0n0n0) {$p!$\,\ifntiny{\tiny 7406}\fi};
\node[accepting, state] at (13,-12) (n1n0n3n0n0n0) {$p?$\,\ifntiny{\tiny 6515}\fi};
\node[accepting, state] at (3,-8) (n0n0n0n2) {$p?$\,\ifntiny{\tiny 8077}\fi};
\node[accepting, state] at (4,-14) (n0n0n0n2n0n0n2) {$p?$\,\ifntiny{\tiny 8074}\fi};
\node[accepting, state] at (6,-10) (n0n0n0n3n0) {$p?$\,\ifntiny{\tiny 7251}\fi};
\node[accepting, state] at (10,-12) (n1n0n2n0n0n0) {$p?$\,\ifntiny{\tiny 6199}\fi};
\node[accepting, state] at (2,-18) (n0n0n0n2n0n0n0n0n0) {$p?$\,\ifntiny{\tiny 8051}\fi};
\node[accepting, state] at (13,-16) (n1n0n3n0n0n0n0n0) {$p?$\,\ifntiny{\tiny 6513}\fi};
\node[accepting, state] at (23,-6) (n3n0n0) {$p?$\,\ifntiny{\tiny 5859}\fi};
\node[accepting, state] at (14,-14) (n1n0n3n0n0n1n0) {$p?$\,\ifntiny{\tiny 6522}\fi};
\node[accepting, state] at (6,-8) (n0n0n0n3) {$p?$\,\ifntiny{\tiny 7252}\fi};
\node[accepting, state] at (6,-16) (n0n0n0n3n0n0n0n1) {$p?$\,\ifntiny{\tiny 7234}\fi};
\node[accepting, state] at (17,-14) (n1n0n4n0n0n0n1) {$p?$\,\ifntiny{\tiny 7385}\fi};
\node[initial, state] at (12,0) (n) {$\cup$\,\ifntiny{\tiny 8402}\fi};
\node[state] at (4,-6) (n0n0n0) {$\cup$\,\ifntiny{\tiny 8392}\fi};
\node[state] at (4,-4) (n0n0) {$p?$\,\ifntiny{\tiny 8393}\fi};
\node[accepting, state] at (23,-10) (n3n0n0n0n1) {$p?$\,\ifntiny{\tiny 5852}\fi};
\node[accepting, state] at (19,-8) (n2n0n0n0) {$p?$\,\ifntiny{\tiny 5827}\fi};
\node[accepting, state] at (6,-18) (n0n0n0n3n0n0n0n1n0) {$p?$\,\ifntiny{\tiny 7233}\fi};
\node[accepting, state] at (18,-14) (n1n0n4n0n0n0n2) {$p?$\,\ifntiny{\tiny 7405}\fi};
\node[accepting, state] at (12,-14) (n1n0n2n0n0n2n0) {$p?$\,\ifntiny{\tiny 6219}\fi};
\node[accepting, state] at (23,-4) (n3n0) {$p?$\,\ifntiny{\tiny 5860}\fi};
\node[accepting, state] at (20,-8) (n2n0n0n1) {$p?$\,\ifntiny{\tiny 5832}\fi};
\node[accepting, state] at (14,-6) (n1n0n3) {$p?$\,\ifntiny{\tiny 6527}\fi};
\node[accepting, state] at (24,-12) (n3n0n0n0n2n0) {$p?$\,\ifntiny{\tiny 5856}\fi};
\node[accepting, state] at (7,-16) (n0n0n0n3n0n0n0n2) {$p?$\,\ifntiny{\tiny 7248}\fi};
\node[accepting, state] at (10,-14) (n1n0n2n0n0n0n0) {$p?$\,\ifntiny{\tiny 6198}\fi};
\node[accepting, state] at (21,-8) (n2n0n0n2) {$p?$\,\ifntiny{\tiny 5837}\fi};
\node[accepting, state] at (14,-8) (n1n0n3n0) {$p?$\,\ifntiny{\tiny 6526}\fi};
\node[accepting, state] at (7,-18) (n0n0n0n3n0n0n0n2n0) {$p?$\,\ifntiny{\tiny 7247}\fi};
\node[accepting, state] at (2,-14) (n0n0n0n2n0n0n0) {$p?$\,\ifntiny{\tiny 8053}\fi};
\node[accepting, state] at (4,-16) (n0n0n0n2n0n0n2n0) {$p?$\,\ifntiny{\tiny 8073}\fi};
\node[state] at (8,-6) (n1n0n0) {$p?$\,\ifntiny{\tiny 8398}\fi};
\node[accepting, state] at (17,-8) (n1n0n4n0) {$p?$\,\ifntiny{\tiny 7408}\fi};
\node[accepting, state] at (18,-16) (n1n0n4n0n0n0n2n0) {$p?$\,\ifntiny{\tiny 7404}\fi};
\node[accepting, state] at (24,-10) (n3n0n0n0n2) {$p?$\,\ifntiny{\tiny 5857}\fi};
\node[accepting, state] at (13,-14) (n1n0n3n0n0n0n0) {$p?$\,\ifntiny{\tiny 6514}\fi};
\node[state] at (4,-2) (n0) {$p?$\,\ifntiny{\tiny 8394}\fi};
\node[accepting, state] at (10,-16) (n1n0n2n0n0n0n0n0) {$p?$\,\ifntiny{\tiny 6197}\fi};
\node[accepting, state] at (20,-10) (n2n0n0n1n0) {$p?$\,\ifntiny{\tiny 5831}\fi};
\node[accepting, state] at (21,-10) (n2n0n0n2n0) {$p?$\,\ifntiny{\tiny 5836}\fi};
\node[accepting, state] at (17,-16) (n1n0n4n0n0n0n1n0) {$p?$\,\ifntiny{\tiny 7384}\fi};
\node[accepting, state] at (12,-12) (n1n0n2n0n0n2) {$p?$\,\ifntiny{\tiny 6220}\fi};
\node[accepting, state] at (11,-6) (n1n0n2) {$p?$\,\ifntiny{\tiny 6223}\fi};
\node[accepting, state] at (20,-2) (n2) {$p?$\,\ifntiny{\tiny 5840}\fi};
\node[accepting, state] at (11,-8) (n1n0n2n0) {$p?$\,\ifntiny{\tiny 6222}\fi};
\node[state] at (8,-8) (n1n0n0n0) {$p?$\,\ifntiny{\tiny 8397}\fi};
\node[accepting, state] at (3,-10) (n0n0n0n2n0) {$p?$\,\ifntiny{\tiny 8076}\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 {b} (n0n0);
\draw[->, thick] (n0n0) edge [near start, left] node {a} (n0n0n0);
\draw[->, thick] (n0n0n0) edge [near start, right, bend right] node {} (n0n0);
\draw[->, thick] (n0n0n0) edge [near start, right, bend right] node {} (n0);
\draw[->, thick] (n0n0n0) edge [near start, left] node {} (n0n0n0n2);
\draw[->, thick] (n0n0n0) edge [near start, left] node {} (n0n0n0n3);
\draw[->, thick] (n0n0n0n2) edge [near start, left] node {a} (n0n0n0n2n0);
\draw[->, thick] (n0n0n0n2n0) edge [near start, left] node {a} (n0n0n0n2n0n0);
\draw[->, thick] (n0n0n0n2n0n0) edge [near start, left] node {x1} (n0n0n0n2n0n0n0);
\draw[->, thick] (n0n0n0n2n0n0) edge [near start, right, bend right] node {x2} (n0n0n0n2);
\draw[->, thick] (n0n0n0n2n0n0) edge [near start, left] node {x3} (n0n0n0n2n0n0n2);
\draw[->, thick] (n0n0n0n2n0n0n0) edge [near start, left] node {a} (n0n0n0n2n0n0n0n0);
\draw[->, thick] (n0n0n0n2n0n0n0n0) edge [near start, left] node {b} (n0n0n0n2n0n0n0n0n0);
\draw[->, thick] (n0n0n0n2n0n0n0n0n0) edge [near start, right, bend right] node {a} (n0n0n0n2n0n0);
\draw[->, thick] (n0n0n0n2n0n0n2) edge [near start, left] node {a} (n0n0n0n2n0n0n2n0);
\draw[->, thick] (n0n0n0n2n0n0n2n0) edge [near start, left, bend left] node {a} (n0n0n0n2n0n0);
\draw[->, thick] (n0n0n0n3) edge [near start, left] node {a} (n0n0n0n3n0);
\draw[->, thick] (n0n0n0n3n0) edge [near start, left] node {b} (n0n0n0n3n0n0);
\draw[->, thick] (n0n0n0n3n0n0) edge [near start, left] node {a} (n0n0n0n3n0n0n0);
\draw[->, thick] (n0n0n0n3n0n0n0) edge [near start, right, bend right] node {x1} (n0n0n0n3);
\draw[->, thick] (n0n0n0n3n0n0n0) edge [near start, left] node {x2} (n0n0n0n3n0n0n0n1);
\draw[->, thick] (n0n0n0n3n0n0n0) edge [near start, left] node {x3} (n0n0n0n3n0n0n0n2);
\draw[->, thick] (n0n0n0n3n0n0n0n1) edge [near start, left] node {a} (n0n0n0n3n0n0n0n1n0);
\draw[->, thick] (n0n0n0n3n0n0n0n1n0) edge [near start, right, bend right] node {a} (n0n0n0n3n0n0n0);
\draw[->, thick] (n0n0n0n3n0n0n0n2) edge [near start, left] node {a} (n0n0n0n3n0n0n0n2n0);
\draw[->, thick] (n0n0n0n3n0n0n0n2n0) edge [near start, left, bend left] node {a} (n0n0n0n3n0n0n0);
\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] (n1n0) edge [near start, left] node {} (n1n0n3);
\draw[->, thick] (n1n0) edge [near start, left] node {} (n1n0n4);
\draw[->, thick] (n1n0n0) edge [near start, left] node {b} (n1n0n0n0);
\draw[->, thick] (n1n0n0n0) edge [near start, right, bend right] node {a} (n1n0);
\draw[->, thick] (n1n0n1) edge [near start, right, bend right] 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] (n1n0n2n0n0) edge [near start, left] node {x1} (n1n0n2n0n0n0);
\draw[->, thick] (n1n0n2n0n0) edge [near start, right, bend right] node {x2} (n1n0n2);
\draw[->, thick] (n1n0n2n0n0) edge [near start, left] node {x3} (n1n0n2n0n0n2);
\draw[->, thick] (n1n0n2n0n0n0) edge [near start, left] node {a} (n1n0n2n0n0n0n0);
\draw[->, thick] (n1n0n2n0n0n0n0) edge [near start, left] node {b} (n1n0n2n0n0n0n0n0);
\draw[->, thick] (n1n0n2n0n0n0n0n0) edge [near start, right, bend right] node {a} (n1n0n2n0n0);
\draw[->, thick] (n1n0n2n0n0n2) edge [near start, left] node {a} (n1n0n2n0n0n2n0);
\draw[->, thick] (n1n0n2n0n0n2n0) edge [near start, left, bend left] node {a} (n1n0n2n0n0);
\draw[->, thick] (n1n0n3) edge [near start, left] node {a} (n1n0n3n0);
\draw[->, thick] (n1n0n3n0) edge [near start, left] node {a} (n1n0n3n0n0);
\draw[->, thick] (n1n0n3n0n0) edge [near start, left] node {x1} (n1n0n3n0n0n0);
\draw[->, thick] (n1n0n3n0n0) edge [near start, left] node {x2} (n1n0n3n0n0n1);
\draw[->, thick] (n1n0n3n0n0) edge [near start, right, bend right] node {x3} (n1n0n3);
\draw[->, thick] (n1n0n3n0n0n0) edge [near start, left] node {a} (n1n0n3n0n0n0n0);
\draw[->, thick] (n1n0n3n0n0n0n0) edge [near start, left] node {b} (n1n0n3n0n0n0n0n0);
\draw[->, thick] (n1n0n3n0n0n0n0n0) edge [near start, right, bend right] node {a} (n1n0n3n0n0);
\draw[->, thick] (n1n0n3n0n0n1) edge [near start, left] node {a} (n1n0n3n0n0n1n0);
\draw[->, thick] (n1n0n3n0n0n1n0) edge [near start, right, bend right] node {a} (n1n0n3n0n0);
\draw[->, thick] (n1n0n4) edge [near start, left] node {a} (n1n0n4n0);
\draw[->, thick] (n1n0n4n0) edge [near start, left] node {b} (n1n0n4n0n0);
\draw[->, thick] (n1n0n4n0n0) edge [near start, left] node {a} (n1n0n4n0n0n0);
\draw[->, thick] (n1n0n4n0n0n0) edge [near start, right, bend right] node {x1} (n1n0n4);
\draw[->, thick] (n1n0n4n0n0n0) edge [near start, left] node {x2} (n1n0n4n0n0n0n1);
\draw[->, thick] (n1n0n4n0n0n0) edge [near start, left] node {x3} (n1n0n4n0n0n0n2);
\draw[->, thick] (n1n0n4n0n0n0n1) edge [near start, left] node {a} (n1n0n4n0n0n0n1n0);
\draw[->, thick] (n1n0n4n0n0n0n1n0) edge [near start, right, bend right] node {a} (n1n0n4n0n0n0);
\draw[->, thick] (n1n0n4n0n0n0n2) edge [near start, left] node {a} (n1n0n4n0n0n0n2n0);
\draw[->, thick] (n1n0n4n0n0n0n2n0) edge [near start, left, bend left] node {a} (n1n0n4n0n0n0);
\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 {x1} (n2n0n0n0);
\draw[->, thick] (n2n0n0) edge [near start, left] node {x2} (n2n0n0n1);
\draw[->, thick] (n2n0n0) edge [near start, left] node {x3} (n2n0n0n2);
\draw[->, thick] (n2n0n0n0) edge [near start, left] node {a} (n2n0n0n0n0);
\draw[->, thick] (n2n0n0n0n0) edge [near start, left] node {b} (n2n0n0n0n0n0);
\draw[->, thick] (n2n0n0n0n0n0) edge [near start, right, bend right] node {a} (n2n0n0);
\draw[->, thick] (n2n0n0n1) edge [near start, left] node {a} (n2n0n0n1n0);
\draw[->, thick] (n2n0n0n1n0) edge [near start, right, bend right] node {a} (n2n0n0);
\draw[->, thick] (n2n0n0n2) edge [near start, left] node {a} (n2n0n0n2n0);
\draw[->, thick] (n2n0n0n2n0) edge [near start, left, bend left] node {a} (n2n0n0);
\draw[->, thick] (n3) edge [near start, left] node {a} (n3n0);
\draw[->, thick] (n3n0) edge [near start, left] node {b} (n3n0n0);
\draw[->, thick] (n3n0n0) edge [near start, left] node {a} (n3n0n0n0);
\draw[->, thick] (n3n0n0n0) edge [near start, right, bend right] node {x1} (n3);
\draw[->, thick] (n3n0n0n0) edge [near start, left] node {x2} (n3n0n0n0n1);
\draw[->, thick] (n3n0n0n0) edge [near start, left] node {x3} (n3n0n0n0n2);
\draw[->, thick] (n3n0n0n0n1) edge [near start, left] node {a} (n3n0n0n0n1n0);
\draw[->, thick] (n3n0n0n0n1n0) edge [near start, right, bend right] node {a} (n3n0n0n0);
\draw[->, thick] (n3n0n0n0n2) edge [near start, left] node {a} (n3n0n0n0n2n0);
\draw[->, thick] (n3n0n0n0n2n0) edge [near start, left, bend left] node {a} (n3n0n0n0);

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