proc main() { var x: int; x := 0; while (x < 2) { x := x + 1; } printi(x); }