fn choose(bool flag) int { if (flag) return 1; return 0; } int invalid = "not an integer"; exit(1);