#include<stdio.h> int main() { char input; int number=0; while(scanf("%c",&input)!=EOF) { if (input=='.') &n...