Solved problem 49 now also

Some of the problems are so easy to understand and relatviely easy to work out how a program might solve it but they are a ball ache to program them. Parsing numbers into strings or reading text files into variables and analysing them etc...
TBH I tend to pass by them if I think they're going to be like that. This is one I decided to try despite that fact.
Now ranked 625th in the country out of 3792.