#include<stdio.h> main() { int n; while (scanf("%d", &n) != EOF) { int i = 0, count = 0; &nbs...