#include <stdio.h> //f1 = 0 //f2 = 1; //f3 = 1+f1; //f4 = 1+f2; int main() { unsigned int N = 0; unsigned int a = 0; unsigned int b = 0; unsigned int c = 0; while (scanf("%d", &N)) { //printf("^^^^%d", N); if (N == 0) { break; } ...