#include <iostream>
using namespace std;
struct list
{
char c;
struct list *next;
};
typedef struct list node;
node *head=NULL,*n_head=NULL;
int count=0;
void insert_node(char str[]) ///convert string to linked list
{
int i=0;
node *temp;
while(str[i]!='