idiomatic solution to this simple problem in your favorite language? | Heykuki News