#include<stdio.h> int main() { int i,j,n,x,num,count=0,m; scanf("%d %d",&n,&x); for(i=1;i<=n;i++){ num=i; ...