Cups problem