#include<stdio.h> int main() { int a,sum1=0,sum2=0; scanf("%d",&a); while(a>=1) {if(a%2==0) { sum1=sum1+1...