finish nhay
finsh nhay , use printf instead of cout