Read problem statements in [Bengali], [Mandarin Chinese], [Russian], and [Vietnamese] as well.

Chef has A units of solid and B units of liquid. He combines them to create a mixture. What kind of mixture does Chef produce: a solution, a solid, or a liquid? 

A mixture is called :
 
1) A *solution* if A > 0 and B > 0,

2) A *solid* if B = 0, or

3) A *liquid* if A = 0. 

------ Input Format ------ 

- The first line contains T denoting the number of test cases. Then the test cases follow.
- Each test case contains two space-separated integers A and B on a single line.

------ Output Format ------ 

For each test case, output on a single line the type of mixture Chef produces, whether it is a Solution, Solid, or Liquid. The output is case sensitive.

------ Constraints ------ 

$1 ≤ T ≤ 20$
$0 ≤ A, B ≤ 100$
$A + B > 0$

------ subtasks ------ 

Subtask 1 (100 points): Original constraints

----- Sample Input 1 ------ 
3
10 5
0 3
3 0

----- Sample Output 1 ------ 
Solution
Liquid
Solid

----- explanation 1 ------ 
Test case $1$: Chef adds both solid and liquid to the mixture, hence the mixture is a solution.

Test case $2$: Chef does not add solid to the mixture, hence the mixture is liquid.

Test case $3$: Chef does not add liquid to the mixture, hence the mixture is solid.

Source: codechef | Difficulty: EASY
Tags: Ad-hoc


Solutions:
for _ in range(int(input())):
	(a, b) = map(int, input().split())
	if a > 0 and b > 0:
		print('Solution')
	elif a > 0 and b == 0:
		print('Solid')
	else:
		print('Liquid')


for i in range(int(input())):
	(x, y) = map(int, input().split())
	if x > 0 and y > 0:
		print('Solution')
	elif x == 0 and y > 0:
		print('Liquid')
	else:
		print('Solid')


T = int(input())
while T > 0:
	(A, B) = map(int, input().split())
	if A == 0:
		print('Liquid')
	elif B == 0:
		print('Solid')
	else:
		print('Solution')
	T = T - 1


t = int(input())
for _ in range(t):
	(A, B) = map(int, input().split())
	if A == 0:
		print('Liquid')
	elif B == 0:
		print('Solid')
	else:
		print('Solution')


t = int(input())
for i in range(t):
	(a, b) = map(int, input().split(' '))
	if a > 0 and b > 0:
		print('Solution')
	elif b == 0:
		print('Solid')
	elif a == 0:
		print('Liquid')


for _ in range(int(input())):
	(a1, b1) = map(int, input().split())
	if a1 > 0 and b1 > 0:
		print('Solution')
	elif b1 > 0:
		print('Liquid')
	else:
		print('Solid')


t = int(input())
for i in range(t):
	(m, n) = map(int, input().split())
	if m == 0:
		print('Liquid')
	elif n == 0:
		print('Solid')
	elif m > 0 and n > 0:
		print('Solution')


for _ in range(int(input())):
	(A, B) = map(int, input().split())
	if A > 0 and B > 0:
		print('Solution')
	elif B is 0:
		print('Solid')
	elif A is 0:
		print('Liquid')


n = int(input())
while n > 0:
	(a, b) = map(int, input().split())
	if a != 0 and b != 0:
		print('Solution')
	elif a == 0:
		print('Liquid')
	else:
		print('Solid')
	n -= 1


t = int(input())
for i in range(t):
	(A, B) = map(int, input().split())
	if A != 0 and B != 0:
		print('Solution')
	elif A == 0 and B != 0:
		print('Liquid')
	elif A != 0 and B == 0:
		print('Solid')


T = int(input())
for i in range(T):
	(A, B) = map(int, input().split())
	if A == 0:
		print('Liquid')
	elif B == 0:
		print('Solid')
	else:
		print('Solution')


t = int(input())
for tc in range(t):
	(a, b) = map(int, input().split())
	if a == 0:
		print('Liquid')
	elif b == 0:
		print('Solid')
	else:
		print('Solution')


import math

def solution():
	pass
T = int(input())
for _ in range(T):
	(a, b) = map(int, input().split())
	if a == 0:
		print('Liquid')
	elif b == 0:
		print('Solid')
	else:
		print('Solution')


tt = int(input())
for i in range(tt):
	(a, b) = map(int, input().split())
	if b == 0:
		print('Solid')
	elif a == 0:
		print('Liquid')
	else:
		print('Solution')


d = int(input())
for i in range(d):
	(w, r) = map(int, input().split())
	if w == 0:
		print('Liquid')
	elif r == 0:
		print('Solid')
	elif w > 0 and r > 0:
		print('Solution')


for _ in range(int(input())):
	(solid, liquid) = map(int, input().split())
	if solid > 0 and liquid > 0:
		print('Solution')
	elif solid == 0 and liquid != 0:
		print('Liquid')
	elif solid != 0 and liquid == 0:
		print('Solid')


t = int(input())
for _ in range(t):
	(x, y) = list(map(int, input().split()))
	if x > 0 and y > 0:
		print('Solution')
	elif y == 0 and x != 0:
		print('Solid')
	elif x == 0 and y != 0:
		print('Liquid')