Not understanding how to input string

in line two we have to input two separate strings , but while using getline(cin,s1) it inputs the space also .
how to input two separate strings?
please check my code
CODE ID :257951

@chitranshanmol07 simple use cin
string s1, s2;
cin >> s1 >> s2;