#include <iostream> using namespace std; int main() { int n; int a[25]; while(cin>>n) { int k=-1; for(int i=1;i<=n;i++) { &nbs...