Shriti was going through some cryptographic concept. She just got stuck at some place . She needs your help to sort out the situation. Your task is to help her in writing the decrypted string.
Input Description:
The first line of the input consists of a Encrypted string input
Output Description:
Print the decrypted string, by analysing the logic behind the decryption using the sample input and output.
Sample Input :
3[b[2[aa]]]
Sample Output :
baaaabaaaabaaaa