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

\node[state] at (21,-10) (n1n1n0n1n0) {$\cup$\,\ifntiny{\tiny 22706}\fi};
\node[state] at (13,-8) (n1n0n1n0) {$\cup$\,\ifntiny{\tiny 22719}\fi};
\node[accepting, state] at (18,-10) (n1n1n0n0n1) {$p?$\,\ifntiny{\tiny 22443}\fi};
\node[accepting, state] at (18,-12) (n1n1n0n0n1n1) {$p?$\,\ifntiny{\tiny 22431}\fi};
\node[state] at (8,-10) (n1n0n0n0n1) {$p?$\,\ifntiny{\tiny 22723}\fi};
\node[state] at (16,-10) (n1n1n0n0n0) {$p?$\,\ifntiny{\tiny 22711}\fi};
\node[accepting, state] at (14,-12) (n1n0n1n0n1n1) {$p?$\,\ifntiny{\tiny 22475}\fi};
\node[state] at (3,-2) (n0) {$p?$\,\ifntiny{\tiny 22700}\fi};
\node[accepting, state] at (22,-12) (n1n1n0n1n0n1) {$p?$\,\ifntiny{\tiny 22407}\fi};
\node[accepting, state] at (21,-14) (n1n1n0n1n0n1n0) {$p!$\,\ifntiny{\tiny 22406}\fi};
\node[accepting, state] at (6,-10) (n0n0n1n1n0) {$p!$\,\ifntiny{\tiny 22681}\fi};
\node[state] at (20,-12) (n1n1n0n1n0n0) {$p?$\,\ifntiny{\tiny 22705}\fi};
\node[accepting, state] at (10,-12) (n1n0n0n1n1n0) {$p!$\,\ifntiny{\tiny 22498}\fi};
\node[accepting, state] at (17,-12) (n1n1n0n0n1n0) {$p!$\,\ifntiny{\tiny 22442}\fi};
\node[accepting, state] at (3,-10) (n0n0n0n0n1) {$p?$\,\ifntiny{\tiny 22671}\fi};
\node[state] at (15,-2) (n1) {$p?$\,\ifntiny{\tiny 22727}\fi};
\node[accepting, state] at (5,-8) (n0n0n1n0) {$p!$\,\ifntiny{\tiny 22685}\fi};
\node[accepting, state] at (6,-8) (n0n0n1n1) {$p?$\,\ifntiny{\tiny 22682}\fi};
\node[state] at (13,-6) (n1n0n1) {$p?$\,\ifntiny{\tiny 22720}\fi};
\node[accepting, state] at (14,-14) (n1n0n1n0n1n1n0) {$p!$\,\ifntiny{\tiny 22474}\fi};
\node[accepting, state] at (2,-12) (n0n0n0n0n1n0) {$p!$\,\ifntiny{\tiny 22670}\fi};
\node[accepting, state] at (3,-14) (n0n0n0n0n1n1n0) {$p!$\,\ifntiny{\tiny 22658}\fi};
\node[state] at (11,-4) (n1n0) {$p?$\,\ifntiny{\tiny 22726}\fi};
\node[accepting, state] at (22,-14) (n1n1n0n1n0n1n1) {$p?$\,\ifntiny{\tiny 22395}\fi};
\node[accepting, state] at (10,-10) (n1n0n0n1n1) {$p?$\,\ifntiny{\tiny 22499}\fi};
\node[state] at (17,-8) (n1n1n0n0) {$\cup$\,\ifntiny{\tiny 22712}\fi};
\node[accepting, state] at (22,-16) (n1n1n0n1n0n1n1n0) {$p!$\,\ifntiny{\tiny 22394}\fi};
\node[accepting, state] at (14,-10) (n1n0n1n0n1) {$p?$\,\ifntiny{\tiny 22483}\fi};
\node[accepting, state] at (18,-14) (n1n1n0n0n1n1n0) {$p!$\,\ifntiny{\tiny 22430}\fi};
\node[state] at (21,-8) (n1n1n0n1) {$p?$\,\ifntiny{\tiny 22707}\fi};
\node[initial, state] at (11,0) (n) {$\cup$\,\ifntiny{\tiny 22728}\fi};
\node[state] at (1,-10) (n0n0n0n0n0) {$p?$\,\ifntiny{\tiny 22696}\fi};
\node[state] at (2,-8) (n0n0n0n0) {$\cup$\,\ifntiny{\tiny 22697}\fi};
\node[state] at (2,-6) (n0n0n0) {$p?$\,\ifntiny{\tiny 22698}\fi};
\node[state] at (3,-4) (n0n0) {$\cup$\,\ifntiny{\tiny 22699}\fi};
\node[accepting, state] at (3,-12) (n0n0n0n0n1n1) {$p?$\,\ifntiny{\tiny 22659}\fi};
\node[state] at (16,-12) (n1n1n0n0n0n1) {$p?$\,\ifntiny{\tiny 22710}\fi};
\node[accepting, state] at (10,-8) (n1n0n0n1) {$p?$\,\ifntiny{\tiny 22507}\fi};
\node[accepting, state] at (6,-6) (n0n0n1) {$p?$\,\ifntiny{\tiny 22686}\fi};
\node[state] at (19,-4) (n1n1) {$p?$\,\ifntiny{\tiny 22714}\fi};
\node[state] at (9,-6) (n1n0n0) {$\cup$\,\ifntiny{\tiny 22725}\fi};
\node[state] at (4,-8) (n0n0n0n1) {$p?$\,\ifntiny{\tiny 22692}\fi};
\node[state] at (12,-10) (n1n0n1n0n0) {$p?$\,\ifntiny{\tiny 22718}\fi};
\node[accepting, state] at (13,-12) (n1n0n1n0n1n0) {$p!$\,\ifntiny{\tiny 22482}\fi};
\node[state] at (8,-8) (n1n0n0n0) {$p?$\,\ifntiny{\tiny 22724}\fi};
\node[accepting, state] at (9,-10) (n1n0n0n1n0) {$p!$\,\ifntiny{\tiny 22506}\fi};
\node[state] at (19,-6) (n1n1n0) {$p?$\,\ifntiny{\tiny 22713}\fi};
\node[state] at (1,-12) (n0n0n0n0n0n1) {$p?$\,\ifntiny{\tiny 22695}\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] (n0n0) edge [near start, left] node {} (n0n0n0);
\draw[->, thick] (n0n0) edge [near start, left] node {} (n0n0n1);
\draw[->, thick] (n0n0n0) edge [near start, left] node {b} (n0n0n0n0);
\draw[->, thick] (n0n0n0) edge [near start, left] node {c} (n0n0n0n1);
\draw[->, thick] (n0n0n0n0) edge [near start, left] node {} (n0n0n0n0n0);
\draw[->, thick] (n0n0n0n0) edge [near start, left] node {} (n0n0n0n0n1);
\draw[->, thick] (n0n0n0n0n0) edge [near start, right, bend right] node {b} (n0n0n0n0);
\draw[->, thick] (n0n0n0n0n0) edge [near start, left] node {c} (n0n0n0n0n0n1);
\draw[->, thick] (n0n0n0n0n0n1) edge [near start, right, bend right] node {a} (n0n0);
\draw[->, thick] (n0n0n0n0n1) edge [near start, left] node {b} (n0n0n0n0n1n0);
\draw[->, thick] (n0n0n0n0n1) edge [near start, left] node {c} (n0n0n0n0n1n1);
\draw[->, thick] (n0n0n0n0n1n0) edge [near start, right, bend right] node {x} (n0n0n0n0n1);
\draw[->, thick] (n0n0n0n0n1n1) edge [near start, left] node {a} (n0n0n0n0n1n1n0);
\draw[->, thick] (n0n0n0n0n1n1n0) edge [near start, right, bend right] node {x} (n0n0n0n0n1);
\draw[->, thick] (n0n0n0n1) edge [near start, left, bend left] node {a} (n0n0);
\draw[->, thick] (n0n0n1) edge [near start, left] node {b} (n0n0n1n0);
\draw[->, thick] (n0n0n1) edge [near start, left] node {c} (n0n0n1n1);
\draw[->, thick] (n0n0n1n0) edge [near start, right, bend right] node {x} (n0n0n1);
\draw[->, thick] (n0n0n1n1) edge [near start, left] node {a} (n0n0n1n1n0);
\draw[->, thick] (n0n0n1n1n0) edge [near start, right, bend right] node {x} (n0n0n1);
\draw[->, thick] (n1) edge [near start, left] node {b} (n1n0);
\draw[->, thick] (n1) edge [near start, left] node {c} (n1n1);
\draw[->, thick] (n1n0) edge [near start, left] node {b} (n1n0n0);
\draw[->, thick] (n1n0) edge [near start, left] node {c} (n1n0n1);
\draw[->, thick] (n1n0n0) edge [near start, left] node {} (n1n0n0n0);
\draw[->, thick] (n1n0n0) edge [near start, left] node {} (n1n0n0n1);
\draw[->, thick] (n1n0n0n0) edge [near start, right, bend right] node {b} (n1n0n0);
\draw[->, thick] (n1n0n0n0) edge [near start, left] node {c} (n1n0n0n0n1);
\draw[->, thick] (n1n0n0n0n1) edge [near start, right, bend right] node {a} (n1n0n0);
\draw[->, thick] (n1n0n0n1) edge [near start, left] node {b} (n1n0n0n1n0);
\draw[->, thick] (n1n0n0n1) edge [near start, left] node {c} (n1n0n0n1n1);
\draw[->, thick] (n1n0n0n1n0) edge [near start, right, bend right] node {x} (n1n0n0n1);
\draw[->, thick] (n1n0n0n1n1) edge [near start, left] node {a} (n1n0n0n1n1n0);
\draw[->, thick] (n1n0n0n1n1n0) edge [near start, right, bend right] node {x} (n1n0n0n1);
\draw[->, thick] (n1n0n1) edge [near start, left] node {a} (n1n0n1n0);
\draw[->, thick] (n1n0n1n0) edge [near start, left] node {} (n1n0n1n0n0);
\draw[->, thick] (n1n0n1n0) edge [near start, left] node {} (n1n0n1n0n1);
\draw[->, thick] (n1n0n1n0n0) edge [near start, right, bend right] node {b} (n1n0n1n0);
\draw[->, thick] (n1n0n1n0n0) edge [near start, right, bend right] node {c} (n1n0n1);
\draw[->, thick] (n1n0n1n0n1) edge [near start, left] node {b} (n1n0n1n0n1n0);
\draw[->, thick] (n1n0n1n0n1) edge [near start, left] node {c} (n1n0n1n0n1n1);
\draw[->, thick] (n1n0n1n0n1n0) edge [near start, right, bend right] node {x} (n1n0n1n0n1);
\draw[->, thick] (n1n0n1n0n1n1) edge [near start, left] node {a} (n1n0n1n0n1n1n0);
\draw[->, thick] (n1n0n1n0n1n1n0) edge [near start, right, bend right] node {x} (n1n0n1n0n1);
\draw[->, thick] (n1n1) edge [near start, left] node {a} (n1n1n0);
\draw[->, thick] (n1n1n0) edge [near start, left] node {b} (n1n1n0n0);
\draw[->, thick] (n1n1n0) edge [near start, left] node {c} (n1n1n0n1);
\draw[->, thick] (n1n1n0n0) edge [near start, left] node {} (n1n1n0n0n0);
\draw[->, thick] (n1n1n0n0) edge [near start, left] node {} (n1n1n0n0n1);
\draw[->, thick] (n1n1n0n0n0) edge [near start, right, bend right] node {b} (n1n1n0n0);
\draw[->, thick] (n1n1n0n0n0) edge [near start, left] node {c} (n1n1n0n0n0n1);
\draw[->, thick] (n1n1n0n0n0n1) edge [near start, right, bend right] node {a} (n1n1n0n0);
\draw[->, thick] (n1n1n0n0n1) edge [near start, left] node {b} (n1n1n0n0n1n0);
\draw[->, thick] (n1n1n0n0n1) edge [near start, left] node {c} (n1n1n0n0n1n1);
\draw[->, thick] (n1n1n0n0n1n0) edge [near start, right, bend right] node {x} (n1n1n0n0n1);
\draw[->, thick] (n1n1n0n0n1n1) edge [near start, left] node {a} (n1n1n0n0n1n1n0);
\draw[->, thick] (n1n1n0n0n1n1n0) edge [near start, right, bend right] node {x} (n1n1n0n0n1);
\draw[->, thick] (n1n1n0n1) edge [near start, left] node {a} (n1n1n0n1n0);
\draw[->, thick] (n1n1n0n1n0) edge [near start, left] node {} (n1n1n0n1n0n0);
\draw[->, thick] (n1n1n0n1n0) edge [near start, left] node {} (n1n1n0n1n0n1);
\draw[->, thick] (n1n1n0n1n0n0) edge [near start, right, bend right] node {b} (n1n1n0n1n0);
\draw[->, thick] (n1n1n0n1n0n0) edge [near start, right, bend right] node {c} (n1n1n0n1);
\draw[->, thick] (n1n1n0n1n0n1) edge [near start, left] node {b} (n1n1n0n1n0n1n0);
\draw[->, thick] (n1n1n0n1n0n1) edge [near start, left] node {c} (n1n1n0n1n0n1n1);
\draw[->, thick] (n1n1n0n1n0n1n0) edge [near start, right, bend right] node {x} (n1n1n0n1n0n1);
\draw[->, thick] (n1n1n0n1n0n1n1) edge [near start, left] node {a} (n1n1n0n1n0n1n1n0);
\draw[->, thick] (n1n1n0n1n0n1n1n0) edge [near start, right, bend right] node {x} (n1n1n0n1n0n1);

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