Masala #ZTTUW6ZDBB
Facebook Likes
Bugun bizning Shaxriyor Facebook Kompaniasiga ishga kirdi. Unga Like bosganda keladigan ″Bildirishnomalar″ bo'limini yasash topshiridi. Facebook uning birinchi ish joyi edi. Shu sabab u bu ishni uddalashga qiynaldi unga bu ishni uddalashda yordam bering.
Yagona Qatorda elementlar soni 100dan oshmaydigan Massiv(Array) beriladi
Yagona qatorda masala javobini chop eting!
# | input.txt | output.txt |
---|---|---|
1 |
Firdavs |
Firdavs likes this |
2 |
Fozil Firdavs |
Fozil and Firdavs like this |
no one likes this - agar element kirmasa yoki probel kiritsa
___ likes this - element yagona bo'lsa
___ and ___ like this - elementlar soni 2 ta bo'lsa
___, ___ , ___ and ___ like this - elementlar soni 3 yoki undan ko'p bo'lsa