In latex, I am writing a pseudocode where I want to have output (of input and output) in the following fashion: 
This is my code:
\documentclass[sigconf]{acmart}
\usepackage{amsmath}
\usepackage{algorithm}
\usepackage{algpseudocode}
\begin{document}
\begin{algorithm}\label{algo:ProclivityProp2}
\caption{Graph}
\begin{algorithmic}
\State Input T matrix of measurements
\State Output $\hat X$ \quad matrix of graph signals\\
$\hat W$ \quad matrix of outliers\\
\end{algorithmic}
\end{algorithm}
\end{document}
When I use \Input{..} or \Output{..} in my code, I get the following error:
! Undefined control sequence.<recently read> \Input \Input
! Undefined control sequence \Output
How can I get the desired output (the first picture)?

