#include
using namespace std;
struct node
{
char name[30]; node* next;
};
void print(node* head)
{ for (