shema - TS Solution

shema - TS Solution