\documentclass[russian]{article}
\usepackage[cp1251]{inputenc}
\usepackage[russian]{babel}
\usepackage{euscript}
\usepackage{type1cm}
\usepackage[psamsfonts]{amssymb}
\usepackage{amsmath}
\usepackage{ulem}
\usepackage{mathrsfs}
\begin{document}
\thispagestyle{empty}
${MATH}
\end{document}
