#include <iostream> int main() { using namespace std; int number = 0; while(cin>>number) { int i = 0; if(number == 0) { &...