diff --git a/Problem Statement-1/Solution/YuvrajSHAD_gameofcodes_ps-1/ps-1_solution.py b/Problem Statement-1/Solution/YuvrajSHAD_gameofcodes_ps-1/ps-1_solution.py new file mode 100644 index 0000000..3a36bf2 --- /dev/null +++ b/Problem Statement-1/Solution/YuvrajSHAD_gameofcodes_ps-1/ps-1_solution.py @@ -0,0 +1,8 @@ +import math +T = int(input()) +for i in range(T): + n, a, b, k = map(int,input().split()) + if ( n // a + n // b - n // ( a * b // math.gcd(a, b) ) *2 >= k ): + print( "Win" ) + else: + print( "Lose" )