He said he was dressed as his math teacher