#include <string.h>
char s[80];
int i, j;
int main() {
strcpy(s, "C Programming");
i = 0;
j = strlen(s) - 1;
while (i < j) {
if (s[i] != s[i+1]) {
printf("%c",s[i]);
i = i + 2;
} else {
i++;
}
printf("-end\n");