String kata calculator