diff --git a/sale_season.py b/sale_season.py new file mode 100644 index 0000000..910717b --- /dev/null +++ b/sale_season.py @@ -0,0 +1,11 @@ +T=int(input()) +for i in range(T): + X=int(input()) + if X<=100: + print(X) + elif X>100 and X<=1000: + print(X-25) + elif X>1000 and X<=5000: + print(X-100) + else: + print(X-500) \ No newline at end of file