#include <stdio.h>
int main() {
int V[10];
for(int i=0; i<10; i++){
scanf("%d", &V[i]);
}
for(int i=0; i<10; i++){
if(V[i]%2==0){
printf("%d ", V[i]);
}
}
printf("\n");
for(int i=0; i<10; i++){
if(V[i]%2==1 || V[i]%2==-1){
printf("%d ", V[i]);
}
}
return 0;
}
To embed this project on your website, copy the following code and paste it into your website's HTML: