#include<fstream.h> ifstream f("bac.txt"); void main() { int n,x,k=0; cin>>n; while(f>>x) if(x%n==0) { cout<<x<<" "; k++; } if(k==0) cout<<"NU EXISTA"; }