\documentclass{article}
\usepackage{a4wide}
\usepackage{adjustbox}
\usepackage{fancyhdr}
\usepackage{tikz}
\usepackage{ifthen}
\usetikzlibrary{automata}
\usepackage{datetime}
\lhead{./certificates/trickySub-trickySup/sim-1274.tex}
\rhead{08:49:42.883 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 = 60
\begin{tikzpicture}[rotate = 0]
%\begin{tikzpicture}[rotate = 90]
\tikzset{initial text=$ $}

\node[state] at (22,-4) (n1n0) {$p!$\,\ifntiny{\tiny 5586}\fi};
\node[state] at (24,-12) (n1n0n1n0n0n0) {$p!$\,\ifntiny{\tiny 5572}\fi};
\node[accepting, state] at (12,-16) (n1n0n0n0n0n1n0n1) {$p!$\,\ifntiny{\tiny 5297}\fi};
\node[state] at (30,-20) (n1n0n1n0n1n0n0n0n0n1) {$p!$\,\ifntiny{\tiny 5578}\fi};
\node[state] at (6,-4) (n0n1) {$p!$\,\ifntiny{\tiny 5537}\fi};
\node[accepting, state] at (20,-14) (n1n0n0n1n0n1n0) {$q!$\,\ifntiny{\tiny 5290}\fi};
\node[state] at (24,-20) (n1n0n1n0n0n0n1n0n0n1) {$p!$\,\ifntiny{\tiny 5568}\fi};
\node[state] at (31,-14) (n1n0n1n0n1n0n0) {$p!$\,\ifntiny{\tiny 5581}\fi};
\node[accepting, state] at (18,-16) (n1n0n0n1n0n0n0n1) {$p!$\,\ifntiny{\tiny 5191}\fi};
\node[state] at (22,-2) (n1) {$p!$\,\ifntiny{\tiny 5587}\fi};
\node[accepting, state] at (21,-12) (n1n0n0n1n0n1) {$p!$\,\ifntiny{\tiny 5297}\fi};
\node[state] at (30,-18) (n1n0n1n0n1n0n0n0n0) {$p!$\,\ifntiny{\tiny 5579}\fi};
\node[state] at (17,-14) (n1n0n0n1n0n0n0) {$\cup$\,\ifntiny{\tiny 5555}\fi};
\node[accepting, state] at (17,-18) (n1n0n0n1n0n0n0n1n0) {$q!$\,\ifntiny{\tiny 5180}\fi};
\node[state] at (17,-12) (n1n0n0n1n0n0) {$p!$\,\ifntiny{\tiny 5558}\fi};
\node[accepting, state] at (32,-18) (n1n0n1n0n1n0n0n0n1) {$p!$\,\ifntiny{\tiny 5410}\fi};
\node[accepting, state] at (3,-8) (n0n0n1n0) {$p!$\,\ifntiny{\tiny 5471}\fi};
\node[state] at (29,-6) (n1n0n1) {$p!$\,\ifntiny{\tiny 5585}\fi};
\node[state] at (10,-16) (n1n0n0n0n0n1n0n0) {$p!$\,\ifntiny{\tiny 5546}\fi};
\node[accepting, state] at (31,-20) (n1n0n1n0n1n0n0n0n1n0) {$q!$\,\ifntiny{\tiny 5403}\fi};
\node[state] at (25,-16) (n1n0n1n0n0n0n1n0) {$\cup$\,\ifntiny{\tiny 5570}\fi};
\node[accepting, state] at (27,-14) (n1n0n1n0n0n1n0) {$q!$\,\ifntiny{\tiny 5403}\fi};
\node[state] at (25,-14) (n1n0n1n0n0n0n1) {$p!$\,\ifntiny{\tiny 5571}\fi};
\node[state] at (10,-10) (n1n0n0n0n0) {$p!$\,\ifntiny{\tiny 5549}\fi};
\node[state] at (29,-8) (n1n0n1n0) {$p!$\,\ifntiny{\tiny 5584}\fi};
\node[accepting, state] at (2,-10) (n0n0n1n0n0) {$q!$\,\ifntiny{\tiny 5468}\fi};
\node[state] at (32,-10) (n1n0n1n0n1) {$p!$\,\ifntiny{\tiny 5583}\fi};
\node[accepting, state] at (7,-10) (n0n1n0n1n0) {$p!$\,\ifntiny{\tiny 5500}\fi};
\node[state] at (6,-6) (n0n1n0) {$p!$\,\ifntiny{\tiny 5536}\fi};
\node[accepting, state] at (26,-18) (n1n0n1n0n0n0n1n0n1) {$p!$\,\ifntiny{\tiny 5375}\fi};
\node[accepting, state] at (25,-20) (n1n0n1n0n0n0n1n0n1n0) {$q!$\,\ifntiny{\tiny 5368}\fi};
\node[state] at (19,-14) (n1n0n0n1n0n0n1) {$p!$\,\ifntiny{\tiny 5557}\fi};
\node[initial, state] at (18,0) (n) {$\cup$\,\ifntiny{\tiny 5588}\fi};
\node[accepting, state] at (35,-14) (n1n0n1n0n1n0n1) {$p!$\,\ifntiny{\tiny 5438}\fi};
\node[accepting, state] at (0,-8) (n0n0n0n0) {$q!$\,\ifntiny{\tiny 5456}\fi};
\node[accepting, state] at (1,-6) (n0n0n0) {$p!$\,\ifntiny{\tiny 5459}\fi};
\node[state] at (2,-4) (n0n0) {$p!$\,\ifntiny{\tiny 5520}\fi};
\node[accepting, state] at (28,-12) (n1n0n1n0n0n1) {$p!$\,\ifntiny{\tiny 5410}\fi};
\node[accepting, state] at (14,-10) (n1n0n0n0n1) {$p!$\,\ifntiny{\tiny 5269}\fi};
\node[state] at (31,-16) (n1n0n1n0n1n0n0n0) {$\cup$\,\ifntiny{\tiny 5580}\fi};
\node[state] at (18,-8) (n1n0n0n1) {$p!$\,\ifntiny{\tiny 5560}\fi};
\node[state] at (3,-6) (n0n0n1) {$p!$\,\ifntiny{\tiny 5519}\fi};
\node[state] at (11,-14) (n1n0n0n0n0n1n0) {$\cup$\,\ifntiny{\tiny 5547}\fi};
\node[state] at (15,-6) (n1n0n0) {$p!$\,\ifntiny{\tiny 5561}\fi};
\node[accepting, state] at (5,-8) (n0n1n0n0) {$p!$\,\ifntiny{\tiny 5488}\fi};
\node[accepting, state] at (6,-12) (n0n1n0n1n0n0) {$q!$\,\ifntiny{\tiny 5497}\fi};
\node[state] at (10,-18) (n1n0n0n0n0n1n0n0n1) {$p!$\,\ifntiny{\tiny 5545}\fi};
\node[state] at (16,-16) (n1n0n0n1n0n0n0n0) {$p!$\,\ifntiny{\tiny 5554}\fi};
\node[accepting, state] at (34,-16) (n1n0n1n0n1n0n1n0) {$q!$\,\ifntiny{\tiny 5431}\fi};
\node[accepting, state] at (11,-18) (n1n0n0n0n0n1n0n1n0) {$q!$\,\ifntiny{\tiny 5290}\fi};
\node[state] at (4,-2) (n0) {$p!$\,\ifntiny{\tiny 5538}\fi};
\node[state] at (25,-10) (n1n0n1n0n0) {$\cup$\,\ifntiny{\tiny 5573}\fi};
\node[state] at (32,-12) (n1n0n1n0n1n0) {$\cup$\,\ifntiny{\tiny 5582}\fi};
\node[state] at (24,-18) (n1n0n1n0n0n0n1n0n0) {$p!$\,\ifntiny{\tiny 5569}\fi};
\node[accepting, state] at (4,-10) (n0n1n0n0n0) {$q!$\,\ifntiny{\tiny 5485}\fi};
\node[state] at (11,-12) (n1n0n0n0n0n1) {$p!$\,\ifntiny{\tiny 5548}\fi};
\node[state] at (11,-8) (n1n0n0n0) {$\cup$\,\ifntiny{\tiny 5550}\fi};
\node[state] at (18,-10) (n1n0n0n1n0) {$\cup$\,\ifntiny{\tiny 5559}\fi};
\node[state] at (7,-8) (n0n1n0n1) {$p!$\,\ifntiny{\tiny 5535}\fi};
\node[accepting, state] at (13,-12) (n1n0n0n0n1n0) {$q!$\,\ifntiny{\tiny 5262}\fi};

\draw[->, thick] (n) edge [near start, left] node {} (n0);
\draw[->, thick] (n) edge [near start, left] node {} (n1);
\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 {a} (n0n0n0);
\draw[->, thick] (n0n0) edge [near start, left] node {b} (n0n0n1);
\draw[->, thick] (n0n0n0) edge [near start, left] node {a} (n0n0n0n0);
\draw[->, thick] (n0n0n0) edge [near start, above, loop left] node {b} (n0n0n0);
\draw[->, thick] (n0n0n0n0) edge [near start, right, bend right] node {a} (n0n0n0);
\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, above, loop left] node {b} (n0n0n1n0);
\draw[->, thick] (n0n0n1n0n0) edge [near start, right, bend right] node {a} (n0n0n1n0);
\draw[->, thick] (n0n1) edge [near start, left] node {a} (n0n1n0);
\draw[->, thick] (n0n1n0) edge [near start, left] node {a} (n0n1n0n0);
\draw[->, thick] (n0n1n0) edge [near start, left] node {b} (n0n1n0n1);
\draw[->, thick] (n0n1n0n0) edge [near start, left] node {a} (n0n1n0n0n0);
\draw[->, thick] (n0n1n0n0) edge [near start, above, loop left] node {b} (n0n1n0n0);
\draw[->, thick] (n0n1n0n0n0) edge [near start, right, bend right] node {a} (n0n1n0n0);
\draw[->, thick] (n0n1n0n1) edge [near start, left] node {a} (n0n1n0n1n0);
\draw[->, thick] (n0n1n0n1n0) edge [near start, left] node {a} (n0n1n0n1n0n0);
\draw[->, thick] (n0n1n0n1n0) edge [near start, above, loop left] node {b} (n0n1n0n1n0);
\draw[->, thick] (n0n1n0n1n0n0) edge [near start, right, bend right] node {a} (n0n1n0n1n0);
\draw[->, thick] (n1) edge [near start, left] node {a} (n1n0);
\draw[->, thick] (n1n0) edge [near start, left] node {a} (n1n0n0);
\draw[->, thick] (n1n0) edge [near start, left] node {b} (n1n0n1);
\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} (n1n0n0n0);
\draw[->, thick] (n1n0n0n0n0) edge [near start, left] node {b} (n1n0n0n0n0n1);
\draw[->, thick] (n1n0n0n0n0n1) edge [near start, left] node {a} (n1n0n0n0n0n1n0);
\draw[->, thick] (n1n0n0n0n0n1n0) edge [near start, left] node {} (n1n0n0n0n0n1n0n0);
\draw[->, thick] (n1n0n0n0n0n1n0) edge [near start, left] node {} (n1n0n0n0n0n1n0n1);
\draw[->, thick] (n1n0n0n0n0n1n0n0) edge [near start, right, bend right] node {a} (n1n0n0n0);
\draw[->, thick] (n1n0n0n0n0n1n0n0) edge [near start, left] node {b} (n1n0n0n0n0n1n0n0n1);
\draw[->, thick] (n1n0n0n0n0n1n0n0n1) edge [near start, right, bend right] node {a} (n1n0n0n0n0n1n0);
\draw[->, thick] (n1n0n0n0n0n1n0n1) edge [near start, left] node {a} (n1n0n0n0n0n1n0n1n0);
\draw[->, thick] (n1n0n0n0n0n1n0n1) edge [near start, above, loop left] node {b} (n1n0n0n0n0n1n0n1);
\draw[->, thick] (n1n0n0n0n0n1n0n1n0) edge [near start, right, bend right] node {a} (n1n0n0n0n0n1n0n1);
\draw[->, thick] (n1n0n0n0n1) edge [near start, left] node {a} (n1n0n0n0n1n0);
\draw[->, thick] (n1n0n0n0n1) edge [near start, above, loop left] node {b} (n1n0n0n0n1);
\draw[->, thick] (n1n0n0n0n1n0) edge [near start, right, bend right] node {a} (n1n0n0n0n1);
\draw[->, thick] (n1n0n0n1) edge [near start, left] node {a} (n1n0n0n1n0);
\draw[->, thick] (n1n0n0n1n0) edge [near start, left] node {} (n1n0n0n1n0n0);
\draw[->, thick] (n1n0n0n1n0) edge [near start, left] node {} (n1n0n0n1n0n1);
\draw[->, thick] (n1n0n0n1n0n0) edge [near start, left] node {a} (n1n0n0n1n0n0n0);
\draw[->, thick] (n1n0n0n1n0n0) edge [near start, left] node {b} (n1n0n0n1n0n0n1);
\draw[->, thick] (n1n0n0n1n0n0n0) edge [near start, left] node {} (n1n0n0n1n0n0n0n0);
\draw[->, thick] (n1n0n0n1n0n0n0) edge [near start, left] node {} (n1n0n0n1n0n0n0n1);
\draw[->, thick] (n1n0n0n1n0n0n0n0) edge [near start, right, bend right] node {a} (n1n0n0n1n0n0n0);
\draw[->, thick] (n1n0n0n1n0n0n0n0) edge [near start, right, bend right] node {b} (n1n0n0n1);
\draw[->, thick] (n1n0n0n1n0n0n0n1) edge [near start, left] node {a} (n1n0n0n1n0n0n0n1n0);
\draw[->, thick] (n1n0n0n1n0n0n0n1) edge [near start, above, loop left] node {b} (n1n0n0n1n0n0n0n1);
\draw[->, thick] (n1n0n0n1n0n0n0n1n0) edge [near start, right, bend right] node {a} (n1n0n0n1n0n0n0n1);
\draw[->, thick] (n1n0n0n1n0n0n1) edge [near start, left, bend left] node {a} (n1n0n0n1n0);
\draw[->, thick] (n1n0n0n1n0n1) edge [near start, left] node {a} (n1n0n0n1n0n1n0);
\draw[->, thick] (n1n0n0n1n0n1) edge [near start, above, loop left] node {b} (n1n0n0n1n0n1);
\draw[->, thick] (n1n0n0n1n0n1n0) edge [near start, right, bend right] node {a} (n1n0n0n1n0n1);
\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, left] node {} (n1n0n1n0n0n0);
\draw[->, thick] (n1n0n1n0n0) edge [near start, left] node {} (n1n0n1n0n0n1);
\draw[->, thick] (n1n0n1n0n0n0) edge [near start, right, bend right] node {a} (n1n0n1n0n0);
\draw[->, thick] (n1n0n1n0n0n0) edge [near start, left] node {b} (n1n0n1n0n0n0n1);
\draw[->, thick] (n1n0n1n0n0n0n1) edge [near start, left] node {a} (n1n0n1n0n0n0n1n0);
\draw[->, thick] (n1n0n1n0n0n0n1n0) edge [near start, left] node {} (n1n0n1n0n0n0n1n0n0);
\draw[->, thick] (n1n0n1n0n0n0n1n0) edge [near start, left] node {} (n1n0n1n0n0n0n1n0n1);
\draw[->, thick] (n1n0n1n0n0n0n1n0n0) edge [near start, right, bend right] node {a} (n1n0n1n0n0);
\draw[->, thick] (n1n0n1n0n0n0n1n0n0) edge [near start, left] node {b} (n1n0n1n0n0n0n1n0n0n1);
\draw[->, thick] (n1n0n1n0n0n0n1n0n0n1) edge [near start, right, bend right] node {a} (n1n0n1n0n0n0n1n0);
\draw[->, thick] (n1n0n1n0n0n0n1n0n1) edge [near start, left] node {a} (n1n0n1n0n0n0n1n0n1n0);
\draw[->, thick] (n1n0n1n0n0n0n1n0n1) edge [near start, above, loop left] node {b} (n1n0n1n0n0n0n1n0n1);
\draw[->, thick] (n1n0n1n0n0n0n1n0n1n0) edge [near start, right, bend right] node {a} (n1n0n1n0n0n0n1n0n1);
\draw[->, thick] (n1n0n1n0n0n1) edge [near start, left] node {a} (n1n0n1n0n0n1n0);
\draw[->, thick] (n1n0n1n0n0n1) edge [near start, above, loop left] node {b} (n1n0n1n0n0n1);
\draw[->, thick] (n1n0n1n0n0n1n0) edge [near start, right, bend right] node {a} (n1n0n1n0n0n1);
\draw[->, thick] (n1n0n1n0n1) edge [near start, left] node {a} (n1n0n1n0n1n0);
\draw[->, thick] (n1n0n1n0n1n0) edge [near start, left] node {} (n1n0n1n0n1n0n0);
\draw[->, thick] (n1n0n1n0n1n0) edge [near start, left] node {} (n1n0n1n0n1n0n1);
\draw[->, thick] (n1n0n1n0n1n0n0) edge [near start, left] node {a} (n1n0n1n0n1n0n0n0);
\draw[->, thick] (n1n0n1n0n1n0n0) edge [near start, right, bend right] node {b} (n1n0n1n0n1);
\draw[->, thick] (n1n0n1n0n1n0n0n0) edge [near start, left] node {} (n1n0n1n0n1n0n0n0n0);
\draw[->, thick] (n1n0n1n0n1n0n0n0) edge [near start, left] node {} (n1n0n1n0n1n0n0n0n1);
\draw[->, thick] (n1n0n1n0n1n0n0n0n0) edge [near start, right, bend right] node {a} (n1n0n1n0n1n0n0n0);
\draw[->, thick] (n1n0n1n0n1n0n0n0n0) edge [near start, left] node {b} (n1n0n1n0n1n0n0n0n0n1);
\draw[->, thick] (n1n0n1n0n1n0n0n0n0n1) edge [near start, right, bend right] node {a} (n1n0n1n0n1n0);
\draw[->, thick] (n1n0n1n0n1n0n0n0n1) edge [near start, left] node {a} (n1n0n1n0n1n0n0n0n1n0);
\draw[->, thick] (n1n0n1n0n1n0n0n0n1) edge [near start, above, loop left] node {b} (n1n0n1n0n1n0n0n0n1);
\draw[->, thick] (n1n0n1n0n1n0n0n0n1n0) edge [near start, right, bend right] node {a} (n1n0n1n0n1n0n0n0n1);
\draw[->, thick] (n1n0n1n0n1n0n1) edge [near start, left] node {a} (n1n0n1n0n1n0n1n0);
\draw[->, thick] (n1n0n1n0n1n0n1) edge [near start, above, loop left] node {b} (n1n0n1n0n1n0n1);
\draw[->, thick] (n1n0n1n0n1n0n1n0) edge [near start, right, bend right] node {a} (n1n0n1n0n1n0n1);

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