#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>

int testvogal(char p);
int main(void) {
	char regex[] = "algoritmo";
	int t = 0;
	char final[999];
	for (int i=0;i<strlen(regex);i++)
	{
        if (testvogal(regex[i]) == 1){
        	final[t] = regex[i];
        	t++;
        }
	}
	printf(final);
}

int testvogal(char p){
	char *vogal = "aeiou";
	for (int j=0;j<strlen(vogal);j++)
	{
		if (p == vogal[j])
		    return 0;
	}
	return 1;
}
