#include <iostream>
using namespace std;

struct Node{
    int data;
    Node* pNext;
};

void inputLL(Node* &pHead) 
{   
	Node* cur = pHead;
    int x;
    
    cout << "Please input the number: "; cin>>x;
    while(x != 0) {
        if(pHead == nullptr) {
            pHead = new Node;
            cur = pHead;
        } else {
            cur->pNext = new Node;
            cur = cur->pNext;
        }
        
        cur->data = x;
        cur->pNext = nullptr;
        cout << "Please input the number: "; cin>>x;
    }
}

int main() {}