Synopsys interview question

Not very difficult