For robustness you should probably use the `nucname.znum()` function.