Scala
\nobject Solution {\n    def smallestEvenMultiple(n: Int): Int = n & 1 match {\n        case 0 => n\n        case 1 => n << 1\n    }\n}\n
```\nobject Solution {\n    def smallestEvenMultiple(n: Int): Int = n & 1 match {\n        case 0 => n\n        case 1 => n << 1\n    }\n}\n```
['Scala']