Solutions in various languages