#include int main(void) { int three = 3; while (three > 0) { printf("%d\n", three); three *= 3; } }