I’m trying to fit two lines of code into one line for code golf, but it requires using nested ternary operators, and I’m getting an “initializer list cannot be used on the right