A man wishes a genie to build a bridge