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

\node[accepting, state] at (41,-4) (n2n0) {$p?$\,\ifntiny{\tiny 24150}\fi};
\node[accepting, state] at (22,-14) (n0n1n1n0n0n0n1) {$p?$\,\ifntiny{\tiny 26318}\fi};
\node[accepting, state] at (32,-4) (n1n0) {$p!$\,\ifntiny{\tiny 24221}\fi};
\node[accepting, state] at (5,-10) (n0n0n1n0n0) {$p?$\,\ifntiny{\tiny 26477}\fi};
\node[accepting, state] at (25,-6) (n0n1n1) {$p?$\,\ifntiny{\tiny 26325}\fi};
\node[initial, state] at (22,0) (n) {$\cup$\,\ifntiny{\tiny 26592}\fi};
\node[accepting, state] at (37,-10) (n1n1n0n0n1) {$p?$\,\ifntiny{\tiny 24195}\fi};
\node[state] at (24,-4) (n0n1) {$\cup$\,\ifntiny{\tiny 26589}\fi};
\node[accepting, state] at (5,-22) (n0n0n1n0n0n1n1n0n0n0n1) {$p?$\,\ifntiny{\tiny 26464}\fi};
\node[state] at (15,-2) (n0) {$p?$\,\ifntiny{\tiny 26591}\fi};
\node[accepting, state] at (27,-10) (n0n1n1n1n0) {$p?$\,\ifntiny{\tiny 26280}\fi};
\node[accepting, state] at (42,-2) (n2) {$p!$\,\ifntiny{\tiny 24155}\fi};
\node[accepting, state] at (27,-14) (n0n1n1n1n0n0n1) {$p?$\,\ifntiny{\tiny 26278}\fi};
\node[accepting, state] at (21,-12) (n0n1n1n0n0n0) {$p!$\,\ifntiny{\tiny 26319}\fi};
\node[accepting, state] at (14,-10) (n0n0n1n1n0) {$p?$\,\ifntiny{\tiny 26401}\fi};
\node[accepting, state] at (4,-20) (n0n0n1n0n0n1n1n0n0n0) {$p!$\,\ifntiny{\tiny 26465}\fi};
\node[accepting, state] at (35,-2) (n1) {$p?$\,\ifntiny{\tiny 24222}\fi};
\node[accepting, state] at (5,-8) (n0n0n1n0) {$p!$\,\ifntiny{\tiny 26481}\fi};
\node[accepting, state] at (14,-8) (n0n0n1n1) {$p!$\,\ifntiny{\tiny 26405}\fi};
\node[accepting, state] at (22,-10) (n0n1n1n0n0) {$p?$\,\ifntiny{\tiny 26320}\fi};
\node[accepting, state] at (14,-16) (n0n0n1n1n0n1n1n0) {$p!$\,\ifntiny{\tiny 26394}\fi};
\node[accepting, state] at (5,-16) (n0n0n1n0n0n1n1n0) {$p!$\,\ifntiny{\tiny 26470}\fi};
\node[accepting, state] at (14,-22) (n0n0n1n1n0n1n1n0n0n0n1) {$p?$\,\ifntiny{\tiny 26388}\fi};
\node[accepting, state] at (6,-14) (n0n0n1n0n0n1n1) {$p?$\,\ifntiny{\tiny 26471}\fi};
\node[accepting, state] at (14,-12) (n0n0n1n1n0n1) {$p!$\,\ifntiny{\tiny 26396}\fi};
\node[accepting, state] at (36,-8) (n1n1n0n0) {$p!$\,\ifntiny{\tiny 24196}\fi};
\node[accepting, state] at (14,-18) (n0n0n1n1n0n1n1n0n0) {$p?$\,\ifntiny{\tiny 26390}\fi};
\node[accepting, state] at (43,-4) (n2n1) {$p?$\,\ifntiny{\tiny 24154}\fi};
\node[accepting, state] at (5,-18) (n0n0n1n0n0n1n1n0n0) {$p?$\,\ifntiny{\tiny 26466}\fi};
\node[state] at (9,-4) (n0n0) {$\cup$\,\ifntiny{\tiny 26590}\fi};
\node[accepting, state] at (5,-12) (n0n0n1n0n0n1) {$p!$\,\ifntiny{\tiny 26472}\fi};
\node[accepting, state] at (32,-10) (n1n0n0n0n1) {$p?$\,\ifntiny{\tiny 24217}\fi};
\node[accepting, state] at (26,-12) (n0n1n1n1n0n0) {$p!$\,\ifntiny{\tiny 26279}\fi};
\node[accepting, state] at (22,-8) (n0n1n1n0) {$p!$\,\ifntiny{\tiny 26324}\fi};
\node[accepting, state] at (27,-8) (n0n1n1n1) {$p!$\,\ifntiny{\tiny 26284}\fi};
\node[accepting, state] at (10,-6) (n0n0n1) {$p?$\,\ifntiny{\tiny 26482}\fi};
\node[accepting, state] at (37,-4) (n1n1) {$p!$\,\ifntiny{\tiny 24199}\fi};
\node[accepting, state] at (32,-6) (n1n0n0) {$p?$\,\ifntiny{\tiny 24219}\fi};
\node[accepting, state] at (15,-14) (n0n0n1n1n0n1n1) {$p?$\,\ifntiny{\tiny 26395}\fi};
\node[accepting, state] at (37,-6) (n1n1n0) {$p?$\,\ifntiny{\tiny 24197}\fi};
\node[accepting, state] at (31,-8) (n1n0n0n0) {$p!$\,\ifntiny{\tiny 24218}\fi};
\node[accepting, state] at (13,-20) (n0n0n1n1n0n1n1n0n0n0) {$p!$\,\ifntiny{\tiny 26389}\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 {d} (n0n0);
\draw[->, thick] (n0) edge [near start, left] node {x} (n0n1);
\draw[->, thick] (n0n0) edge [near start, right, bend right] node {} (n0);
\draw[->, thick] (n0n0) edge [near start, left] node {} (n0n0n1);
\draw[->, thick] (n0n0n1) edge [near start, left] node {d} (n0n0n1n0);
\draw[->, thick] (n0n0n1) edge [near start, left] node {x} (n0n0n1n1);
\draw[->, thick] (n0n0n1n0) edge [near start, left] node {a} (n0n0n1n0n0);
\draw[->, thick] (n0n0n1n0) edge [near start, right, bend right] node {b} (n0n0n1);
\draw[->, thick] (n0n0n1n0n0) edge [near start, right, bend right] node {d} (n0n0n1n0);
\draw[->, thick] (n0n0n1n0n0) edge [near start, left] node {x} (n0n0n1n0n0n1);
\draw[->, thick] (n0n0n1n0n0n1) edge [near start, right, bend right] node {a} (n0n0n1n0n0);
\draw[->, thick] (n0n0n1n0n0n1) edge [near start, left] node {b} (n0n0n1n0n0n1n1);
\draw[->, thick] (n0n0n1n0n0n1n1) edge [near start, left] node {d} (n0n0n1n0n0n1n1n0);
\draw[->, thick] (n0n0n1n0n0n1n1) edge [near start, left, bend left] node {x} (n0n0n1n0n0n1);
\draw[->, thick] (n0n0n1n0n0n1n1n0) edge [near start, left] node {a} (n0n0n1n0n0n1n1n0n0);
\draw[->, thick] (n0n0n1n0n0n1n1n0) edge [near start, right, bend right] node {b} (n0n0n1n0n0n1n1);
\draw[->, thick] (n0n0n1n0n0n1n1n0n0) edge [near start, left] node {d} (n0n0n1n0n0n1n1n0n0n0);
\draw[->, thick] (n0n0n1n0n0n1n1n0n0) edge [near start, right, bend right] node {x} (n0n0n1n0n0n1n1n0);
\draw[->, thick] (n0n0n1n0n0n1n1n0n0n0) edge [near start, right, bend right] node {a} (n0n0n1n0n0n1n1n0n0);
\draw[->, thick] (n0n0n1n0n0n1n1n0n0n0) edge [near start, left] node {b} (n0n0n1n0n0n1n1n0n0n0n1);
\draw[->, thick] (n0n0n1n0n0n1n1n0n0n0n1) edge [near start, left, bend left] node {d} (n0n0n1n0n0n1n1n0n0n0);
\draw[->, thick] (n0n0n1n0n0n1n1n0n0n0n1) edge [near start, left, bend left] node {x} (n0n0n1n0n0n1n1n0n0n0);
\draw[->, thick] (n0n0n1n1) edge [near start, left] node {a} (n0n0n1n1n0);
\draw[->, thick] (n0n0n1n1) edge [near start, left, bend left] node {b} (n0n0n1);
\draw[->, thick] (n0n0n1n1n0) edge [near start, right, bend right] node {d} (n0n0n1n1);
\draw[->, thick] (n0n0n1n1n0) edge [near start, left] node {x} (n0n0n1n1n0n1);
\draw[->, thick] (n0n0n1n1n0n1) edge [near start, right, bend right] node {a} (n0n0n1n1n0);
\draw[->, thick] (n0n0n1n1n0n1) edge [near start, left] node {b} (n0n0n1n1n0n1n1);
\draw[->, thick] (n0n0n1n1n0n1n1) edge [near start, left] node {d} (n0n0n1n1n0n1n1n0);
\draw[->, thick] (n0n0n1n1n0n1n1) edge [near start, left, bend left] node {x} (n0n0n1n1n0n1);
\draw[->, thick] (n0n0n1n1n0n1n1n0) edge [near start, left] node {a} (n0n0n1n1n0n1n1n0n0);
\draw[->, thick] (n0n0n1n1n0n1n1n0) edge [near start, right, bend right] node {b} (n0n0n1n1n0n1n1);
\draw[->, thick] (n0n0n1n1n0n1n1n0n0) edge [near start, left] node {d} (n0n0n1n1n0n1n1n0n0n0);
\draw[->, thick] (n0n0n1n1n0n1n1n0n0) edge [near start, right, bend right] node {x} (n0n0n1n1n0n1n1n0);
\draw[->, thick] (n0n0n1n1n0n1n1n0n0n0) edge [near start, right, bend right] node {a} (n0n0n1n1n0n1n1n0n0);
\draw[->, thick] (n0n0n1n1n0n1n1n0n0n0) edge [near start, left] node {b} (n0n0n1n1n0n1n1n0n0n0n1);
\draw[->, thick] (n0n0n1n1n0n1n1n0n0n0n1) edge [near start, left, bend left] node {d} (n0n0n1n1n0n1n1n0n0n0);
\draw[->, thick] (n0n0n1n1n0n1n1n0n0n0n1) edge [near start, left, bend left] node {x} (n0n0n1n1n0n1n1n0n0n0);
\draw[->, thick] (n0n1) edge [near start, left, bend left] node {} (n0);
\draw[->, thick] (n0n1) edge [near start, left] node {} (n0n1n1);
\draw[->, thick] (n0n1n1) edge [near start, left] node {d} (n0n1n1n0);
\draw[->, thick] (n0n1n1) edge [near start, left] node {x} (n0n1n1n1);
\draw[->, thick] (n0n1n1n0) edge [near start, left] node {a} (n0n1n1n0n0);
\draw[->, thick] (n0n1n1n0) edge [near start, right, bend right] node {b} (n0n1n1);
\draw[->, thick] (n0n1n1n0n0) edge [near start, left] node {d} (n0n1n1n0n0n0);
\draw[->, thick] (n0n1n1n0n0) edge [near start, right, bend right] node {x} (n0n1n1n0);
\draw[->, thick] (n0n1n1n0n0n0) edge [near start, right, bend right] node {a} (n0n1n1n0n0);
\draw[->, thick] (n0n1n1n0n0n0) edge [near start, left] node {b} (n0n1n1n0n0n0n1);
\draw[->, thick] (n0n1n1n0n0n0n1) edge [near start, left, bend left] node {d} (n0n1n1n0n0n0);
\draw[->, thick] (n0n1n1n0n0n0n1) edge [near start, left, bend left] node {x} (n0n1n1n0n0n0);
\draw[->, thick] (n0n1n1n1) edge [near start, left] node {a} (n0n1n1n1n0);
\draw[->, thick] (n0n1n1n1) edge [near start, left, bend left] node {b} (n0n1n1);
\draw[->, thick] (n0n1n1n1n0) edge [near start, left] node {d} (n0n1n1n1n0n0);
\draw[->, thick] (n0n1n1n1n0) edge [near start, right, bend right] node {x} (n0n1n1n1);
\draw[->, thick] (n0n1n1n1n0n0) edge [near start, right, bend right] node {a} (n0n1n1n1n0);
\draw[->, thick] (n0n1n1n1n0n0) edge [near start, left] node {b} (n0n1n1n1n0n0n1);
\draw[->, thick] (n0n1n1n1n0n0n1) edge [near start, left, bend left] node {d} (n0n1n1n1n0n0);
\draw[->, thick] (n0n1n1n1n0n0n1) edge [near start, left, bend left] node {x} (n0n1n1n1n0n0);
\draw[->, thick] (n1) edge [near start, left] node {d} (n1n0);
\draw[->, thick] (n1) edge [near start, left] node {x} (n1n1);
\draw[->, thick] (n1n0) edge [near start, left] node {a} (n1n0n0);
\draw[->, thick] (n1n0) edge [near start, right, bend right] node {b} (n1);
\draw[->, thick] (n1n0n0) edge [near start, left] node {d} (n1n0n0n0);
\draw[->, thick] (n1n0n0) edge [near start, right, bend right] node {x} (n1n0);
\draw[->, thick] (n1n0n0n0) edge [near start, right, bend right] node {a} (n1n0n0);
\draw[->, thick] (n1n0n0n0) edge [near start, left] node {b} (n1n0n0n0n1);
\draw[->, thick] (n1n0n0n0n1) edge [near start, left, bend left] node {d} (n1n0n0n0);
\draw[->, thick] (n1n0n0n0n1) edge [near start, left, bend left] node {x} (n1n0n0n0);
\draw[->, thick] (n1n1) edge [near start, left] node {a} (n1n1n0);
\draw[->, thick] (n1n1) edge [near start, left, bend left] node {b} (n1);
\draw[->, thick] (n1n1n0) edge [near start, left] node {d} (n1n1n0n0);
\draw[->, thick] (n1n1n0) edge [near start, right, bend right] node {x} (n1n1);
\draw[->, thick] (n1n1n0n0) edge [near start, right, bend right] node {a} (n1n1n0);
\draw[->, thick] (n1n1n0n0) edge [near start, left] node {b} (n1n1n0n0n1);
\draw[->, thick] (n1n1n0n0n1) edge [near start, left, bend left] node {d} (n1n1n0n0);
\draw[->, thick] (n1n1n0n0n1) edge [near start, left, bend left] node {x} (n1n1n0n0);
\draw[->, thick] (n2) edge [near start, left] node {a} (n2n0);
\draw[->, thick] (n2) edge [near start, left] node {b} (n2n1);
\draw[->, thick] (n2n0) edge [near start, right, bend right] node {d} (n2);
\draw[->, thick] (n2n0) edge [near start, right, bend right] node {x} (n2);
\draw[->, thick] (n2n1) edge [near start, left, bend left] node {d} (n2);
\draw[->, thick] (n2n1) edge [near start, left, bend left] node {x} (n2);

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