import java.io.*;
public class SingleList {
static Node ptr,prev,current;
private Node head=null;
private Node tail=null; 
private int length=0; 
public SingleList()
{
head=this.head;
length=this.length;
}
public void addNode(Node n) 
{ Node e=new Node();
if(length==0)
{
head=e;
tail=e;
}
else
{
current=head;
while(current.next!=null)
{
current=current.next;
length++;
}
}

}
public void insert()
{
Node e=new Node();
current=head.next;
while(current.next!=null)
{

}

}
public void modify()
{

}
public void delete()
{

}
public void search()
{

} /**
 * @param args
 */
public static void main(String[] args) {
// TODO Auto-generated method stub SingleList list=new SingleList();
DataInputStream in=new DataInputStream(System.in);
String sname1="";
String sprof1="";
int sno1=0;
int sage1=0;
try {
sname1=in.readLine();
} catch (IOException e){}
try{
sno1=Integer.valueOf(in.readLine()).intValue();
}catch(NumberFormatException e) {} 

}
class Node
{
int sno;
int sage;
String sname;
String sprof;//专业
Node next; }不会编了 前几天还编译通过,但是跳出nullExeception。。本人菜鸟,望高手指点一二。。