#include<stdio.h>#include<stdlib.h>typedef struct N{ int i; struct N* next;}List;int main(void){ List *L,*H,*P,*Q; L=(List *)malloc(sizeof(List)); L->i=1; L->next=NULL; H=L; P=L; int j; int n=0; int k=0; for(j=2;j<=30;j++){ Q=(List *)malloc(sizeof(List))...