It is not that easy.
In your example you have got 61 degrees north and 14.5919 minutes, no seconds. (The seconds are relpresended by the decimals in the minutes.)
You will have to convert the minutes into centi-degrees.
61 + 14.5919/60 will result in 61.31983 .
You will have to consider that S reuslts in negative values for the latitude as well as W does for the longitude.
Your example happens to have N and E coordinates, which works fine with positive values. But you cannot take that for granted. At least not if you want some general solution.
So for the latitude:
It is N if the value is >= 0, otherwise it is S.
You can trunc the post-comma values for the degrees and add the °.
Then take the remainder and multiply it with 60 and use it as the minutes and add th '.
.145919 * 60 = 8.75514 - That is your minutes value for this example. It should result in
N 61° 8.75514'
As your question does not relate to a programming issue but is rather a related to the math behind, I'll let you go from there.