\documentclass{article}
\usepackage{a4wide}
\usepackage{adjustbox}
\usepackage{fancyhdr}
\usepackage{tikz}
\usepackage{ifthen}
\usetikzlibrary{automata}
\usepackage{datetime}
\lhead{./certificates/march3testa1-march3testa2/sim-20472.tex}
\rhead{08:49:43.189 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 (48,-4) (n2n0) {$p?$\,\ifntiny{\tiny 20499}\fi};
\node[accepting, state] at (21,-16) (n0n1n0n1n0n1n0n1) {$p?$\,\ifntiny{\tiny 20690}\fi};
\node[accepting, state] at (20,-14) (n0n1n0n1n0n1n0) {$p?$\,\ifntiny{\tiny 20691}\fi};
\node[accepting, state] at (27,-8) (n0n1n0n2) {$p?$\,\ifntiny{\tiny 21477}\fi};
\node[accepting, state] at (28,-12) (n0n1n0n2n0n1) {$p?$\,\ifntiny{\tiny 21475}\fi};
\node[state] at (22,-4) (n0n1) {$p?$\,\ifntiny{\tiny 24240}\fi};
\node[accepting, state] at (40,-10) (n1n0n2n0n0) {$p!$\,\ifntiny{\tiny 20533}\fi};
\node[accepting, state] at (6,-12) (n0n0n0n0n2n0) {$p?$\,\ifntiny{\tiny 21476}\fi};
\node[state] at (2,-12) (n0n0n0n0n1n1) {$p?$\,\ifntiny{\tiny 24245}\fi};
\node[state] at (16,-12) (n0n1n0n1n0n0) {$p?$\,\ifntiny{\tiny 24236}\fi};
\node[state] at (15,-2) (n0) {$p?$\,\ifntiny{\tiny 24250}\fi};
\node[accepting, state] at (6,-10) (n0n0n0n0n2) {$p?$\,\ifntiny{\tiny 21477}\fi};
\node[accepting, state] at (7,-14) (n0n0n0n0n2n0n1) {$p?$\,\ifntiny{\tiny 21475}\fi};
\node[state] at (37,-2) (n1) {$p?$\,\ifntiny{\tiny 24260}\fi};
\node[state] at (2,-10) (n0n0n0n0n1) {$p?$\,\ifntiny{\tiny 24246}\fi};
\node[accepting, state] at (13,-10) (n0n0n1n0n1) {$p?$\,\ifntiny{\tiny 20690}\fi};
\node[accepting, state] at (7,-16) (n0n0n0n0n2n0n1n0) {$p!$\,\ifntiny{\tiny 21474}\fi};
\node[accepting, state] at (49,-12) (n2n0n0n0n1n0) {$p!$\,\ifntiny{\tiny 20495}\fi};
\node[accepting, state] at (12,-8) (n0n0n1n0) {$p?$\,\ifntiny{\tiny 20691}\fi};
\node[accepting, state] at (46,-10) (n2n0n0n0n0) {$p!$\,\ifntiny{\tiny 20489}\fi};
\node[state] at (38,-6) (n1n0n1) {$p?$\,\ifntiny{\tiny 24258}\fi};
\node[state] at (37,-4) (n1n0) {$\cup$\,\ifntiny{\tiny 24259}\fi};
\node[accepting, state] at (43,-12) (n1n0n2n0n1n0) {$p!$\,\ifntiny{\tiny 20539}\fi};
\node[state] at (30,-10) (n1n0n0n0n0) {$p?$\,\ifntiny{\tiny 24253}\fi};
\node[accepting, state] at (10,-10) (n0n0n1n0n0) {$p!$\,\ifntiny{\tiny 20678}\fi};
\node[accepting, state] at (27,-10) (n0n1n0n2n0) {$p?$\,\ifntiny{\tiny 21476}\fi};
\node[accepting, state] at (13,-12) (n0n0n1n0n1n0) {$p!$\,\ifntiny{\tiny 20689}\fi};
\node[state] at (19,-10) (n0n1n0n1n0) {$\cup$\,\ifntiny{\tiny 24237}\fi};
\node[state] at (22,-6) (n0n1n0) {$\cup$\,\ifntiny{\tiny 24239}\fi};
\node[accepting, state] at (49,-10) (n2n0n0n0n1) {$p?$\,\ifntiny{\tiny 20496}\fi};
\node[accepting, state] at (20,-12) (n0n1n0n1n0n1) {$p?$\,\ifntiny{\tiny 20692}\fi};
\node[accepting, state] at (28,-14) (n0n1n0n2n0n1n0) {$p!$\,\ifntiny{\tiny 21474}\fi};
\node[accepting, state] at (21,-18) (n0n1n0n1n0n1n0n1n0) {$p!$\,\ifntiny{\tiny 20689}\fi};
\node[initial, state] at (25,0) (n) {$\cup$\,\ifntiny{\tiny 24261}\fi};
\node[state] at (0,-10) (n0n0n0n0n0) {$p?$\,\ifntiny{\tiny 24243}\fi};
\node[state] at (4,-8) (n0n0n0n0) {$\cup$\,\ifntiny{\tiny 24247}\fi};
\node[state] at (4,-6) (n0n0n0) {$p?$\,\ifntiny{\tiny 24248}\fi};
\node[state] at (7,-4) (n0n0) {$\cup$\,\ifntiny{\tiny 24249}\fi};
\node[accepting, state] at (34,-10) (n1n0n0n0n1) {$p?$\,\ifntiny{\tiny 21043}\fi};
\node[accepting, state] at (43,-10) (n1n0n2n0n1) {$p?$\,\ifntiny{\tiny 20540}\fi};
\node[accepting, state] at (18,-16) (n0n1n0n1n0n1n0n0) {$p!$\,\ifntiny{\tiny 20678}\fi};
\node[accepting, state] at (48,-8) (n2n0n0n0) {$p?$\,\ifntiny{\tiny 20497}\fi};
\node[state] at (37,-8) (n1n0n0n1) {$p?$\,\ifntiny{\tiny 24256}\fi};
\node[accepting, state] at (12,-6) (n0n0n1) {$p?$\,\ifntiny{\tiny 20692}\fi};
\node[accepting, state] at (25,-12) (n0n1n0n2n0n0) {$p!$\,\ifntiny{\tiny 21463}\fi};
\node[state] at (34,-6) (n1n0n0) {$p?$\,\ifntiny{\tiny 24257}\fi};
\node[state] at (15,-8) (n0n1n0n0) {$p?$\,\ifntiny{\tiny 24234}\fi};
\node[accepting, state] at (4,-14) (n0n0n0n0n2n0n0) {$p!$\,\ifntiny{\tiny 21463}\fi};
\node[accepting, state] at (35,-14) (n1n0n0n0n1n0n1) {$p?$\,\ifntiny{\tiny 21041}\fi};
\node[accepting, state] at (32,-14) (n1n0n0n0n1n0n0) {$p!$\,\ifntiny{\tiny 21029}\fi};
\node[accepting, state] at (48,-6) (n2n0n0) {$p?$\,\ifntiny{\tiny 20498}\fi};
\node[accepting, state] at (42,-6) (n1n0n2) {$p?$\,\ifntiny{\tiny 20542}\fi};
\node[accepting, state] at (48,-2) (n2) {$p?$\,\ifntiny{\tiny 20500}\fi};
\node[accepting, state] at (35,-16) (n1n0n0n0n1n0n1n0) {$p!$\,\ifntiny{\tiny 21040}\fi};
\node[accepting, state] at (42,-8) (n1n0n2n0) {$p?$\,\ifntiny{\tiny 20541}\fi};
\node[state] at (33,-8) (n1n0n0n0) {$\cup$\,\ifntiny{\tiny 24254}\fi};
\node[state] at (20,-8) (n0n1n0n1) {$p?$\,\ifntiny{\tiny 24238}\fi};
\node[accepting, state] at (34,-12) (n1n0n0n0n1n0) {$p?$\,\ifntiny{\tiny 21042}\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] (n0) edge [near start, left] node {b} (n0n1);
\draw[->, thick] (n0n0) edge [near start, left] node {} (n0n0n0);
\draw[->, thick] (n0n0) edge [near start, left] node {} (n0n0n1);
\draw[->, thick] (n0n0n0) edge [near start, left] node {a} (n0n0n0n0);
\draw[->, thick] (n0n0n0n0) edge [near start, left] node {} (n0n0n0n0n0);
\draw[->, thick] (n0n0n0n0) edge [near start, left] node {} (n0n0n0n0n1);
\draw[->, thick] (n0n0n0n0) edge [near start, left] node {} (n0n0n0n0n2);
\draw[->, thick] (n0n0n0n0n0) edge [near start, right, bend right] node {a} (n0n0n0n0);
\draw[->, thick] (n0n0n0n0n1) edge [near start, right, bend right] node {a} (n0n0);
\draw[->, thick] (n0n0n0n0n1) edge [near start, left] node {b} (n0n0n0n0n1n1);
\draw[->, thick] (n0n0n0n0n1n1) edge [near start, right, bend right] node {a} (n0n0n0n0);
\draw[->, thick] (n0n0n0n0n2) edge [near start, left] node {a} (n0n0n0n0n2n0);
\draw[->, thick] (n0n0n0n0n2n0) edge [near start, left] node {a} (n0n0n0n0n2n0n0);
\draw[->, thick] (n0n0n0n0n2n0) edge [near start, left] node {b} (n0n0n0n0n2n0n1);
\draw[->, thick] (n0n0n0n0n2n0n0) edge [near start, right, bend right] node {x1} (n0n0n0n0n2);
\draw[->, thick] (n0n0n0n0n2n0n0) edge [near start, right, bend right] node {x2} (n0n0n0n0n2);
\draw[->, thick] (n0n0n0n0n2n0n0) edge [near start, right, bend right] node {x3} (n0n0n0n0n2);
\draw[->, thick] (n0n0n0n0n2n0n1) edge [near start, left] node {a} (n0n0n0n0n2n0n1n0);
\draw[->, thick] (n0n0n0n0n2n0n1n0) edge [near start, left, bend left] node {x1} (n0n0n0n0n2);
\draw[->, thick] (n0n0n0n0n2n0n1n0) edge [near start, left, bend left] node {x2} (n0n0n0n0n2);
\draw[->, thick] (n0n0n0n0n2n0n1n0) edge [near start, left, bend left] node {x3} (n0n0n0n0n2);
\draw[->, thick] (n0n0n1) edge [near start, left] node {a} (n0n0n1n0);
\draw[->, thick] (n0n0n1n0) edge [near start, left] node {a} (n0n0n1n0n0);
\draw[->, thick] (n0n0n1n0) edge [near start, left] node {b} (n0n0n1n0n1);
\draw[->, thick] (n0n0n1n0n0) edge [near start, right, bend right] node {x1} (n0n0n1);
\draw[->, thick] (n0n0n1n0n0) edge [near start, right, bend right] node {x2} (n0n0n1);
\draw[->, thick] (n0n0n1n0n0) edge [near start, right, bend right] node {x3} (n0n0n1);
\draw[->, thick] (n0n0n1n0n1) edge [near start, left] node {a} (n0n0n1n0n1n0);
\draw[->, thick] (n0n0n1n0n1n0) edge [near start, left, bend left] node {x1} (n0n0n1);
\draw[->, thick] (n0n0n1n0n1n0) edge [near start, left, bend left] node {x2} (n0n0n1);
\draw[->, thick] (n0n0n1n0n1n0) edge [near start, left, bend left] node {x3} (n0n0n1);
\draw[->, thick] (n0n1) edge [near start, left] node {a} (n0n1n0);
\draw[->, thick] (n0n1n0) edge [near start, left] node {} (n0n1n0n0);
\draw[->, thick] (n0n1n0) edge [near start, left] node {} (n0n1n0n1);
\draw[->, thick] (n0n1n0) edge [near start, left] node {} (n0n1n0n2);
\draw[->, thick] (n0n1n0n0) edge [near start, right, bend right] node {a} (n0n1n0);
\draw[->, thick] (n0n1n0n1) edge [near start, left] node {a} (n0n1n0n1n0);
\draw[->, thick] (n0n1n0n1) edge [near start, right, bend right] node {b} (n0n1);
\draw[->, thick] (n0n1n0n1n0) edge [near start, left] node {} (n0n1n0n1n0n0);
\draw[->, thick] (n0n1n0n1n0) edge [near start, left] node {} (n0n1n0n1n0n1);
\draw[->, thick] (n0n1n0n1n0n0) edge [near start, right, bend right] node {a} (n0n1n0);
\draw[->, thick] (n0n1n0n1n0n1) edge [near start, left] node {a} (n0n1n0n1n0n1n0);
\draw[->, thick] (n0n1n0n1n0n1n0) edge [near start, left] node {a} (n0n1n0n1n0n1n0n0);
\draw[->, thick] (n0n1n0n1n0n1n0) edge [near start, left] node {b} (n0n1n0n1n0n1n0n1);
\draw[->, thick] (n0n1n0n1n0n1n0n0) edge [near start, right, bend right] node {x1} (n0n1n0n1n0n1);
\draw[->, thick] (n0n1n0n1n0n1n0n0) edge [near start, right, bend right] node {x2} (n0n1n0n1n0n1);
\draw[->, thick] (n0n1n0n1n0n1n0n0) edge [near start, right, bend right] node {x3} (n0n1n0n1n0n1);
\draw[->, thick] (n0n1n0n1n0n1n0n1) edge [near start, left] node {a} (n0n1n0n1n0n1n0n1n0);
\draw[->, thick] (n0n1n0n1n0n1n0n1n0) edge [near start, left, bend left] node {x1} (n0n1n0n1n0n1);
\draw[->, thick] (n0n1n0n1n0n1n0n1n0) edge [near start, left, bend left] node {x2} (n0n1n0n1n0n1);
\draw[->, thick] (n0n1n0n1n0n1n0n1n0) edge [near start, left, bend left] node {x3} (n0n1n0n1n0n1);
\draw[->, thick] (n0n1n0n2) edge [near start, left] node {a} (n0n1n0n2n0);
\draw[->, thick] (n0n1n0n2n0) edge [near start, left] node {a} (n0n1n0n2n0n0);
\draw[->, thick] (n0n1n0n2n0) edge [near start, left] node {b} (n0n1n0n2n0n1);
\draw[->, thick] (n0n1n0n2n0n0) edge [near start, right, bend right] node {x1} (n0n1n0n2);
\draw[->, thick] (n0n1n0n2n0n0) edge [near start, right, bend right] node {x2} (n0n1n0n2);
\draw[->, thick] (n0n1n0n2n0n0) edge [near start, right, bend right] node {x3} (n0n1n0n2);
\draw[->, thick] (n0n1n0n2n0n1) edge [near start, left] node {a} (n0n1n0n2n0n1n0);
\draw[->, thick] (n0n1n0n2n0n1n0) edge [near start, left, bend left] node {x1} (n0n1n0n2);
\draw[->, thick] (n0n1n0n2n0n1n0) edge [near start, left, bend left] node {x2} (n0n1n0n2);
\draw[->, thick] (n0n1n0n2n0n1n0) edge [near start, left, bend left] node {x3} (n0n1n0n2);
\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] (n1n0n0) edge [near start, left] node {a} (n1n0n0n0);
\draw[->, thick] (n1n0n0) edge [near start, left] node {b} (n1n0n0n1);
\draw[->, thick] (n1n0n0n0) edge [near start, left] node {} (n1n0n0n0n0);
\draw[->, thick] (n1n0n0n0) edge [near start, left] node {} (n1n0n0n0n1);
\draw[->, thick] (n1n0n0n0n0) edge [near start, right, bend right] node {a} (n1n0);
\draw[->, thick] (n1n0n0n0n1) edge [near start, left] node {a} (n1n0n0n0n1n0);
\draw[->, thick] (n1n0n0n0n1n0) edge [near start, left] node {a} (n1n0n0n0n1n0n0);
\draw[->, thick] (n1n0n0n0n1n0) edge [near start, left] node {b} (n1n0n0n0n1n0n1);
\draw[->, thick] (n1n0n0n0n1n0n0) edge [near start, right, bend right] node {x1} (n1n0n0n0n1);
\draw[->, thick] (n1n0n0n0n1n0n0) edge [near start, right, bend right] node {x2} (n1n0n0n0n1);
\draw[->, thick] (n1n0n0n0n1n0n0) edge [near start, right, bend right] node {x3} (n1n0n0n0n1);
\draw[->, thick] (n1n0n0n0n1n0n1) edge [near start, left] node {a} (n1n0n0n0n1n0n1n0);
\draw[->, thick] (n1n0n0n0n1n0n1n0) edge [near start, left, bend left] node {x1} (n1n0n0n0n1);
\draw[->, thick] (n1n0n0n0n1n0n1n0) edge [near start, left, bend left] node {x2} (n1n0n0n0n1);
\draw[->, thick] (n1n0n0n0n1n0n1n0) edge [near start, left, bend left] node {x3} (n1n0n0n0n1);
\draw[->, thick] (n1n0n0n1) edge [near start, right, bend right] node {a} (n1n0);
\draw[->, thick] (n1n0n1) edge [near start, left, bend left] 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] (n1n0n2n0) edge [near start, left] node {b} (n1n0n2n0n1);
\draw[->, thick] (n1n0n2n0n0) edge [near start, right, bend right] node {x1} (n1n0n2);
\draw[->, thick] (n1n0n2n0n0) edge [near start, right, bend right] node {x2} (n1n0n2);
\draw[->, thick] (n1n0n2n0n0) edge [near start, right, bend right] node {x3} (n1n0n2);
\draw[->, thick] (n1n0n2n0n1) edge [near start, left] node {a} (n1n0n2n0n1n0);
\draw[->, thick] (n1n0n2n0n1n0) edge [near start, left, bend left] node {x1} (n1n0n2);
\draw[->, thick] (n1n0n2n0n1n0) edge [near start, left, bend left] node {x2} (n1n0n2);
\draw[->, thick] (n1n0n2n0n1n0) edge [near start, left, bend left] node {x3} (n1n0n2);
\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}
