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

\node[accepting, state] at (8,-10) (n0n0n1n1n0) {$p!$\,\ifntiny{\tiny 47248}\fi};
\node[accepting, state] at (15,-2) (n1) {$p?$\,\ifntiny{\tiny 47156}\fi};
\node[accepting, state] at (15,-4) (n1n0) {$p!$\,\ifntiny{\tiny 47155}\fi};
\node[accepting, state] at (4,-14) (n0n0n1n0n0n1n1) {$p?$\,\ifntiny{\tiny 47268}\fi};
\node[accepting, state] at (9,-12) (n0n0n1n1n0n1) {$p?$\,\ifntiny{\tiny 47247}\fi};
\node[initial, state] at (9,0) (n) {$\cup$\,\ifntiny{\tiny 47415}\fi};
\node[accepting, state] at (17,-8) (n1n0n1n1) {$p?$\,\ifntiny{\tiny 47150}\fi};
\node[accepting, state] at (4,-12) (n0n0n1n0n0n1) {$p?$\,\ifntiny{\tiny 47276}\fi};
\node[accepting, state] at (8,-14) (n0n0n1n1n0n1n0) {$p?$\,\ifntiny{\tiny 47246}\fi};
\node[accepting, state] at (14,-14) (n1n0n0n0n0n1n1) {$p?$\,\ifntiny{\tiny 47163}\fi};
\node[state] at (6,-2) (n0) {$p?$\,\ifntiny{\tiny 47409}\fi};
\node[accepting, state] at (8,-26) (n0n0n1n1n0n1n0n0n0n0n0n1n1) {$p?$\,\ifntiny{\tiny 47231}\fi};
\node[accepting, state] at (8,-24) (n0n0n1n1n0n1n0n0n0n0n0n1) {$p?$\,\ifntiny{\tiny 47239}\fi};
\node[accepting, state] at (3,-14) (n0n0n1n0n0n1n0) {$p?$\,\ifntiny{\tiny 47275}\fi};
\node[accepting, state] at (8,-16) (n0n0n1n1n0n1n0n0) {$p!$\,\ifntiny{\tiny 47245}\fi};
\node[accepting, state] at (3,-8) (n0n0n1n0) {$p?$\,\ifntiny{\tiny 47278}\fi};
\node[accepting, state] at (8,-8) (n0n0n1n1) {$p?$\,\ifntiny{\tiny 47249}\fi};
\node[accepting, state] at (17,-6) (n1n0n1) {$p?$\,\ifntiny{\tiny 47154}\fi};
\node[accepting, state] at (13,-10) (n1n0n0n0n0) {$p!$\,\ifntiny{\tiny 47168}\fi};
\node[accepting, state] at (16,-8) (n1n0n1n0) {$p?$\,\ifntiny{\tiny 47153}\fi};
\node[accepting, state] at (3,-10) (n0n0n1n0n0) {$p!$\,\ifntiny{\tiny 47277}\fi};
\node[accepting, state] at (7,-20) (n0n0n1n1n0n1n0n0n0n0) {$p?$\,\ifntiny{\tiny 47241}\fi};
\node[state] at (0,-8) (n0n0n0n0) {$p?$\,\ifntiny{\tiny 47406}\fi};
\node[state] at (1,-6) (n0n0n0) {$p?$\,\ifntiny{\tiny 47407}\fi};
\node[state] at (6,-4) (n0n0) {$\cup$\,\ifntiny{\tiny 47408}\fi};
\node[accepting, state] at (7,-6) (n0n0n1) {$p?$\,\ifntiny{\tiny 47279}\fi};
\node[accepting, state] at (13,-14) (n1n0n0n0n0n1n0) {$p?$\,\ifntiny{\tiny 47166}\fi};
\node[accepting, state] at (7,-26) (n0n0n1n1n0n1n0n0n0n0n0n1n0) {$p?$\,\ifntiny{\tiny 47238}\fi};
\node[accepting, state] at (14,-6) (n1n0n0) {$p?$\,\ifntiny{\tiny 47170}\fi};
\node[accepting, state] at (11,-14) (n0n0n1n1n0n1n1) {$p?$\,\ifntiny{\tiny 47195}\fi};
\node[state] at (1,-8) (n0n0n0n1) {$p?$\,\ifntiny{\tiny 47404}\fi};
\node[accepting, state] at (8,-18) (n0n0n1n1n0n1n0n0n0) {$p?$\,\ifntiny{\tiny 47242}\fi};
\node[accepting, state] at (14,-12) (n1n0n0n0n0n1) {$p?$\,\ifntiny{\tiny 47167}\fi};
\node[accepting, state] at (7,-22) (n0n0n1n1n0n1n0n0n0n0n0) {$p!$\,\ifntiny{\tiny 47240}\fi};
\node[accepting, state] at (9,-20) (n0n0n1n1n0n1n0n0n0n1) {$p?$\,\ifntiny{\tiny 47212}\fi};
\node[accepting, state] at (13,-8) (n1n0n0n0) {$p?$\,\ifntiny{\tiny 47169}\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 {f} (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 {d} (n0n0n0n0);
\draw[->, thick] (n0n0n0) edge [near start, left] node {x} (n0n0n0n1);
\draw[->, thick] (n0n0n0n0) edge [near start, right, bend right] node {e} (n0n0);
\draw[->, thick] (n0n0n0n1) edge [near start, right, bend right] node {f} (n0n0);
\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 {e} (n0n0n1n0n0);
\draw[->, thick] (n0n0n1n0n0) edge [near start, right, bend right] node {a} (n0n0n1);
\draw[->, thick] (n0n0n1n0n0) edge [near start, left] node {b} (n0n0n1n0n0n1);
\draw[->, thick] (n0n0n1n0n0n1) edge [near start, left] node {d} (n0n0n1n0n0n1n0);
\draw[->, thick] (n0n0n1n0n0n1) edge [near start, left] node {x} (n0n0n1n0n0n1n1);
\draw[->, thick] (n0n0n1n0n0n1n0) edge [near start, right, bend right] node {e} (n0n0n1n0n0);
\draw[->, thick] (n0n0n1n0n0n1n1) edge [near start, left, bend left] node {f} (n0n0n1n0n0);
\draw[->, thick] (n0n0n1n1) edge [near start, left] node {f} (n0n0n1n1n0);
\draw[->, thick] (n0n0n1n1n0) edge [near start, left, bend left] node {a} (n0n0n1);
\draw[->, thick] (n0n0n1n1n0) edge [near start, left] node {b} (n0n0n1n1n0n1);
\draw[->, thick] (n0n0n1n1n0n1) edge [near start, left] node {d} (n0n0n1n1n0n1n0);
\draw[->, thick] (n0n0n1n1n0n1) edge [near start, left] node {x} (n0n0n1n1n0n1n1);
\draw[->, thick] (n0n0n1n1n0n1n0) edge [near start, left] node {e} (n0n0n1n1n0n1n0n0);
\draw[->, thick] (n0n0n1n1n0n1n0n0) edge [near start, left] node {a} (n0n0n1n1n0n1n0n0n0);
\draw[->, thick] (n0n0n1n1n0n1n0n0) edge [near start, right, bend right] node {b} (n0n0n1n1n0n1);
\draw[->, thick] (n0n0n1n1n0n1n0n0n0) edge [near start, left] node {d} (n0n0n1n1n0n1n0n0n0n0);
\draw[->, thick] (n0n0n1n1n0n1n0n0n0) edge [near start, left] node {x} (n0n0n1n1n0n1n0n0n0n1);
\draw[->, thick] (n0n0n1n1n0n1n0n0n0n0) edge [near start, left] node {e} (n0n0n1n1n0n1n0n0n0n0n0);
\draw[->, thick] (n0n0n1n1n0n1n0n0n0n0n0) edge [near start, right, bend right] node {a} (n0n0n1n1n0n1n0n0n0);
\draw[->, thick] (n0n0n1n1n0n1n0n0n0n0n0) edge [near start, left] node {b} (n0n0n1n1n0n1n0n0n0n0n0n1);
\draw[->, thick] (n0n0n1n1n0n1n0n0n0n0n0n1) edge [near start, left] node {d} (n0n0n1n1n0n1n0n0n0n0n0n1n0);
\draw[->, thick] (n0n0n1n1n0n1n0n0n0n0n0n1) edge [near start, left] node {x} (n0n0n1n1n0n1n0n0n0n0n0n1n1);
\draw[->, thick] (n0n0n1n1n0n1n0n0n0n0n0n1n0) edge [near start, right, bend right] node {e} (n0n0n1n1n0n1n0n0n0n0n0);
\draw[->, thick] (n0n0n1n1n0n1n0n0n0n0n0n1n1) edge [near start, left, bend left] node {f} (n0n0n1n1n0n1n0n0n0n0n0);
\draw[->, thick] (n0n0n1n1n0n1n0n0n0n1) edge [near start, left, bend left] node {f} (n0n0n1n1n0n1n0n0);
\draw[->, thick] (n0n0n1n1n0n1n1) edge [near start, left, bend left] node {f} (n0n0n1n1n0);
\draw[->, thick] (n1) edge [near start, left] node {f} (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 {d} (n1n0n0n0);
\draw[->, thick] (n1n0n0) edge [near start, right, bend right] node {x} (n1);
\draw[->, thick] (n1n0n0n0) edge [near start, left] node {e} (n1n0n0n0n0);
\draw[->, thick] (n1n0n0n0n0) edge [near start, right, bend right] node {a} (n1n0n0);
\draw[->, thick] (n1n0n0n0n0) edge [near start, left] node {b} (n1n0n0n0n0n1);
\draw[->, thick] (n1n0n0n0n0n1) edge [near start, left] node {d} (n1n0n0n0n0n1n0);
\draw[->, thick] (n1n0n0n0n0n1) edge [near start, left] node {x} (n1n0n0n0n0n1n1);
\draw[->, thick] (n1n0n0n0n0n1n0) edge [near start, right, bend right] node {e} (n1n0n0n0n0);
\draw[->, thick] (n1n0n0n0n0n1n1) edge [near start, left, bend left] node {f} (n1n0n0n0n0);
\draw[->, thick] (n1n0n1) edge [near start, left] node {d} (n1n0n1n0);
\draw[->, thick] (n1n0n1) edge [near start, left] node {x} (n1n0n1n1);
\draw[->, thick] (n1n0n1n0) edge [near start, left, bend left] node {e} (n1n0);
\draw[->, thick] (n1n0n1n1) edge [near start, left, bend left] node {f} (n1n0);

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