#D7754. Memory Leak

    ID: 6445 Type: Default 8000ms 134MiB

Memory Leak

Memory Leak

Time Limit: 8 sec / Memory Limit: 64 MB

Example

Input

100 A=malloc(10) B=clone(A) free(A)

Output

0

inputFormat

Input

100 A=malloc(10) B=clone(A) free(A)

outputFormat

Output

0

样例

100
A=malloc(10)
B=clone(A)
free(A)
0