Single line with ternary