Study the following Java code:
Node n1 = new Node(2);
int i;
for (i=1; i<=5; i++)
n1 = new Node(2*i, n1);
n1.getNext().getNext().setData(i);
for (i=1; i<=2; i++)
n1 = n1.getNext();
When the above code executes the result is a sequence of linked nodes. The number of nodes in the sequence is
. The value in the first node is
and the value in the last node is
.