Amazon interview question

System design interview to design a simple system