Masala #AVJ6HOACSY
3 lik ifoda#1
Sizga N soni beriladi, siz N sonini [1,1000000] ketma-ketlik ichida 4 ta 1ta 3 va 0 sonlaridan tashkil topgan sonlar va amallar yordamida ifodalashingiz kerak bo'ladi(faqat 1ta 3 qatnashishi shart!).Agar javobi chiqmasa "It's impossible" so'zini chop eting.
Bitta qatorda N soni kiritiladi -10**18≤N≤10**18
Masalani javobini probellarsiz chop eting. Agar javoblar bir nechta bo'lsa - va + ko'p qatnashgan ifodani chop eting.Javob aniqligi kafolatlanadi.
# | input.txt | output.txt |
---|---|---|
1 |
9 |
3+3*3-3 |
2 |
102 |
It's impossible |