People worry computer smart world real problem they re stupid they ve take world Pedro DomingosYou work wellknown department store use lead technology employ mechanistic work robotsThe department work sell n cdot k item the item cost 1 dollar second item cost 2 dollar ith item cost dollar the item situate shelf the item form rectangular grid n shelf total shelf contain exactly k item we denote a_ij price jth item counting leave ith shelf 1 le le n 1 le j le kOccasionally robot curious ponder follow question mean price arithmetic average item a_il a_il1 ldot a_ir shelf indice l le r unfortunately old robot work number if mean price turn integer break downyou care robot welfare you want arrange item way robot theoretically break Formally want choose twodimensional array every number 1 n cdot k inclusively occur exactly for l r mean price item l r ith shelf integer find arrangement possible example arrangement