Problem 236 solved.. almost. The answer appears but it isn't the one which gets outputted.