#include #define NUM 11 using namespace std; int main() { int a[NUM] = {}; int input; for (int i=0; i> input; a[input] = 1; } for (int i=1; i