Did you miss something out here? The remainder when 314 is divided by 165 is 149.