#include <iostream>
using namespace std;
struct Node{
int data;
Node* pNext;
};
void deleteLL(Node* &pHead) {
while(pHead != nullptr) {
Node* next = pHead->pNext;
delete pHead;
pHead = next;
}
}
int main() {}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKc3RydWN0IE5vZGV7CiAgICBpbnQgZGF0YTsKICAgIE5vZGUqIHBOZXh0Owp9OwoKdm9pZCBkZWxldGVMTChOb2RlKiAmcEhlYWQpIHsKICAgIHdoaWxlKHBIZWFkICE9IG51bGxwdHIpIHsKICAgICAgICBOb2RlKiBuZXh0ID0gcEhlYWQtPnBOZXh0OwogICAgICAgIGRlbGV0ZSBwSGVhZDsKICAgICAgICBwSGVhZCA9IG5leHQ7CiAgICB9Cn0KCmludCBtYWluKCkge30=