c++ getline cin error
<pre><code>#include &lt;iostream&gt;
#include &lt;string&gt;
using namespace std;
int main(){
    int a1,a2,a3,a4;

cin&gt;&gt;a1&gt;&gt;a2&gt;&gt;a3&gt;&gt;a4;
string a;
getline(cin,a);
return 0;}
</code></pre>

<p>I have this code. I cant input the value of "a". Help me please</p>