On communication on sea with flags