Classical Laver table calculator

Input the values $n,x,y$ below to calculate either the application $x*y$ or the composition $x\circ y$ in the $n$-th classical Laver table $A_{n}$. This calculator will calculate $A_{n}$ for when $n\leq 48$ (which is the largest classical Laver table calculated).