working submission code
working submission code