I have tried with strings, but am not getting how to handle this with integer in stacks? This question may feel bit weird but can anyone send me code?