#include #define W (s[i] == 239 && s[i + 1] == 189 && s[i + 2] == 151) unsigned char s[700]; int count, pos[50], len[50]; int main(void) { scanf("%s", s); int i = 0, max = 0; while (W) { i += 3; } while (s[i] != 0) { pos[count] = i; while (!W && s[i] != 0) { i++; } int n = 0; while (W) { n++; i += 3; } len[count] = n; count++; max = (max < n ? n : max); } int j; for (j = 0; j < count; j++) { if (len[j] == max && max != 0) { i = pos[j]; while (!W && s[i] != 0) { printf("%c", s[i]); i++; } printf("\n"); } } return 0; }