#include
#include
#include
int ishw(char*p){ char *start=p; char *end=p+strlen(p)-1; while(start