Snuke is giving cookies to his three goats.
He has two cookie tins. One contains A cookies, and the other contains B cookies. He can thus give A cookies, B cookies or A+B cookies to his goats (he cannot open the tins).
Your task is to determine whether Snuke can give cookies to his three goats so that each of them can have the same number of cookies.

-----Constraints-----
 - 1 \leq A,B \leq 100
 - Both A and B are integers.

-----Input-----
Input is given from Standard Input in the following format:
A B

-----Output-----
If it is possible to give cookies so that each of the three goats can have the same number of cookies, print Possible; otherwise, print Impossible.

-----Sample Input-----
4 5

-----Sample Output-----
Possible

If Snuke gives nine cookies, each of the three goats can have three cookies.
[{"code": "A, B = map(int, input().split())\nC = A + B\n\nprint(\"Possible\" if A%3==0 or B%3==0 or C%3==0 else \"Impossible\")", "passed": true, "time": 0.15, "memory": 14172.0, "status": "done"}, {"code": "A, B = map(int, input().split())\n\nif A%3 and B%3 and (A+B)%3:\n  print(\"Impossible\")\nelse:\n  print(\"Possible\")", "passed": true, "time": 0.24, "memory": 14316.0, "status": "done"}, {"code": "A, B = map(int, input().split())\n\n# A, B, A+B \u306e\u3044\u305a\u308c\u304b\u306e\u679a\u6570\u306e\u30af\u30c3\u30ad\u30fc\u3092\u30e4\u30ae\u305f\u3061\u306b\u6e21\u3059\u3053\u3068\u304c\u3067\u304d\u308b\n# 3\u5339\u306e\u30e4\u30ae \u304c\u540c\u3058\u679a\u6570\u305a\u3064\u98df\u3079\u3089\u308c\u308b\u3088\u3046\u306b\u30af\u30c3\u30ad\u30fc\u3092\u6e21\u3059\u3053\u3068\u304c\u53ef\u80fd\u306a\u3089\u3070 'Possible' \u3068\u3001\u305d\u3046\u3067\u306a\u3051\u308c\u3070 'Impossible' \u3068\u51fa\u529b\n\nif A % 3 == 0:\n    print('Possible')\nelif B % 3 == 0:\n    print('Possible')\nelif (A + B) % 3 == 0:\n    print('Possible')\nelse:\n    print('Impossible')", "passed": true, "time": 0.15, "memory": 14072.0, "status": "done"}, {"code": "a=list(map(int,input().split()))\nb=sum(a)\n \nif (b%3 ==0 or a[0]%3 ==0 or a[1]%3==0) :\n  print('Possible')\nelse :\n  print('Impossible')", "passed": true, "time": 0.82, "memory": 14264.0, "status": "done"}, {"code": "a,b = map(int,input().split())\nif a % 3 == 0:\n    print(\"Possible\")\nelif b % 3 == 0:\n    print(\"Possible\")\nelif (a + b) % 3 == 0:\n    print(\"Possible\")\nelse:\n    print(\"Impossible\")", "passed": true, "time": 1.58, "memory": 14316.0, "status": "done"}, {"code": "# \u5165\u529b\nA, B = map(int,input().split())\n\n# \u51e6\u7406\nif (A + B) % 3 == 0 or A % 3 == 0 or B % 3 == 0:\n    print('Possible')\nelse:\n    print('Impossible')", "passed": true, "time": 0.15, "memory": 14184.0, "status": "done"}, {"code": "a, b = map(int, input().split())\nprint((\"Impossible\", \"Possible\")[a % 3 * b % 3 * (a + b) % 3 == 0])", "passed": true, "time": 0.15, "memory": 14184.0, "status": "done"}, {"code": "a,b = map(int,input().split())\nif a % 3 == 0 or b % 3 == 0 or (a + b) % 3 == 0:\n    print('Possible')\nelse:\n    print('Impossible')", "passed": true, "time": 0.22, "memory": 14212.0, "status": "done"}, {"code": "# A - Sharing Cookies\n\n# A,B,A+B\u306e\u3044\u305a\u308c\u304b\u304c3\u306e\u500d\u6570\u304b\u3069\u3046\u304b\u5224\u5b9a\u3059\u308b\n\n\nA,B = list(map(int,input().split()))\n\nif A % 3 == 0\\\nor B % 3 == 0\\\nor (A+B) % 3 == 0:\n    print('Possible')\nelse:\n    print('Impossible')\n", "passed": true, "time": 0.14, "memory": 14188.0, "status": "done"}, {"code": "a,b=list(map(int,input().split()))\nprint((\"Possible\" if any([x % 3 == 0 for x in [a,b,a+b]]) else \"Impossible\"))\n", "passed": true, "time": 0.24, "memory": 14096.0, "status": "done"}, {"code": "A, B = list(map(int, input().split()))\n\nif A % 3 == 0 or B % 3 == 0 or (A + B) % 3 == 0:\n    print('Possible')\nelse:\n    print('Impossible')\n", "passed": true, "time": 0.14, "memory": 14180.0, "status": "done"}, {"code": "a,b = map(int,input().split())\n\nif a % 3 == 0 or b % 3 == 0 or (a+b) % 3 == 0:\n  print('Possible')\nelse:\n  print('Impossible')", "passed": true, "time": 0.14, "memory": 14220.0, "status": "done"}, {"code": "a, b = map(int, input().split())\nif a%3 == 0 or b%3 == 0 or (a+b)%3 == 0:\n  print(\"Possible\")\nelse:\n  print(\"Impossible\")", "passed": true, "time": 0.23, "memory": 14212.0, "status": "done"}, {"code": "a, b = (int(x) for x in input().split())\nif a % 3 == 0 or b % 3 == 0 or (a + b) % 3 == 0: ans = 'Possible'\nelse: ans = 'Impossible'\nprint(ans)", "passed": true, "time": 0.24, "memory": 14272.0, "status": "done"}, {"code": "A,B = map(int,input().split())\nif A%3==0 or B%3==0 or (A+B)%3==0:print(\"Possible\")\nelse : print(\"Impossible\")", "passed": true, "time": 0.24, "memory": 14224.0, "status": "done"}, {"code": "A, B = map(int, input().split())\nprint(\"Possible\" if A * B * (A + B) % 3 == 0 else \"Impossible\")", "passed": true, "time": 0.14, "memory": 14296.0, "status": "done"}, {"code": "a,b=list(map(int ,input().split()))\nif(a%3==0 or b%3==0 or (a+b)%3==0):\n\tprint(\"Possible\")\nelse:\n\tprint(\"Impossible\")\n", "passed": true, "time": 0.23, "memory": 14208.0, "status": "done"}, {"code": "A,B = map(int,input().split())\n\nif A % 3 == 0 or B % 3 == 0 or (A + B) % 3 ==0: # 3\u3067\u5272\u3063\u3066\u4f59\u308a\u304c\u51fa\u306a\u3051\u308c\u3070\u30013\u5339\u5e73\u7b49\u306b\u6e21\u305b\u308b\n    print('Possible')\n\nelse:\n    print('Impossible')", "passed": true, "time": 0.15, "memory": 14080.0, "status": "done"}, {"code": "a,b=map(int, input().split())\nif a%3==0 or b%3==0 or a%3!=b%3:\n    print(\"Possible\")\nelse:\n    print(\"Impossible\")", "passed": true, "time": 0.14, "memory": 14064.0, "status": "done"}, {"code": "A,B=list(map(int,input().split()))\nC=A+B\nif ((A>=3)&(A%3==0)) | ((B>=3)&(B%3==0)) | ((C>=3)&(C%3==0)):\n  print(\"Possible\")\nelse:\n  print(\"Impossible\")\n", "passed": true, "time": 0.24, "memory": 14184.0, "status": "done"}, {"code": "a, b = map(int, input().split())\nif (a + b) % 3 == 0 or b % 3 == 0 or a % 3 == 0:\n    print(\"Possible\")\nelse:\n    print(\"Impossible\")", "passed": true, "time": 0.14, "memory": 14296.0, "status": "done"}, {"code": "S_list = list(map(int,input().split()))\n\nA, B = S_list[0], S_list[1]\nif (A * B * (A + B)) % 3 == 0 :\n    result = \"Possible\"\nelse:\n    result = \"Impossible\"\nprint(result)\n", "passed": true, "time": 0.14, "memory": 14108.0, "status": "done"}, {"code": "a,s=map(int,input().split())\nprint(\"Impossible\"if a%3 and s%3 and a%3==s%3 else \"Possible\")", "passed": true, "time": 0.14, "memory": 14176.0, "status": "done"}, {"code": "a, b =map(int, input().split())\n\nif a%3 == 0 or b%3 == 0 or (a+b)%3 == 0:\n    print(\"Possible\")\nelse:\n    print(\"Impossible\")", "passed": true, "time": 0.14, "memory": 14076.0, "status": "done"}, {"code": "A,B=map(int,input().split())\nif A%3==0 or B%3==0 or (A+B)%3==0:\n  print(\"Possible\")\nelse:\n  print(\"Impossible\")", "passed": true, "time": 0.14, "memory": 14068.0, "status": "done"}, {"code": "a,b=map(int,input().split())\n\nif a%3==0 or b%3==0 or (a+b)%3==0:\n    ans=\"Possible\"\nelse:\n    ans=\"Impossible\"\nprint(ans)", "passed": true, "time": 0.15, "memory": 14004.0, "status": "done"}, {"code": "a, b = map(int, input().split())\nif a % 3 == 0 or b % 3 == 0 or (a + b) % 3 == 0:\n  print(\"Possible\")\nelse:\n  print(\"Impossible\")", "passed": true, "time": 0.14, "memory": 14176.0, "status": "done"}, {"code": "#n = int(input())\na, b = list(map(int, input().split()))\n#l = list(map(int,input().split()))\n#l = [list(map(int,input().split())) for i in range(n)]\n\nif a % 3 == 0 or b % 3 == 0 or (a+b) % 3 == 0:\n    print('Possible')\nelse:\n    print('Impossible')\n", "passed": true, "time": 0.14, "memory": 14232.0, "status": "done"}, {"code": "# 067_a\nA,B=map(int,input().split())\nif (1<=A and A<=100)and(1<=B and B<=100):\n    sum=A+B\n    if A%3==0 or B%3==0 or sum%3==0:\n        print('Possible')\n    else:\n        print('Impossible')", "passed": true, "time": 0.14, "memory": 14036.0, "status": "done"}, {"code": "a, b = (int(x) for x in input().split())\nif a % 3 == 0 or b % 3 == 0 or (a + b) % 3 == 0:\n    print('Possible')\nelse:\n    print('Impossible')\n", "passed": true, "time": 0.14, "memory": 14100.0, "status": "done"}, {"code": "a,b=map(int,input().split())\nif a%3 == 0:\n    print(\"Possible\")\nelif b%3 == 0:\n    print(\"Possible\")\nelif (a+b)%3 == 0:\n    print(\"Possible\")\nelse:\n    print(\"Impossible\")", "passed": true, "time": 0.14, "memory": 14068.0, "status": "done"}, {"code": "a,b=map(int,input().split())\nif a%3==0 or b%3==0 or (a+b)%3==0:\n  print(\"Possible\")\nelse:\n  print(\"Impossible\")", "passed": true, "time": 0.27, "memory": 14244.0, "status": "done"}, {"code": "a, b = map(int, input().split())\n\nif (a + b) % 3 == 0 or b % 3 == 0 or a % 3 == 0:\n    print(\"Possible\")\nelse:\n    print(\"Impossible\")", "passed": true, "time": 0.49, "memory": 14052.0, "status": "done"}, {"code": "# A,B,A+B\u306e\u3044\u305a\u308c\u304b\u304c3\u306e\u500d\u6570\u306b\u306a\u308b\u304b\n\nA, B = list(map(int, input().split()))\n\nif A % 3 == 0 or B % 3 == 0 or (A + B) % 3 ==0:\n    print('Possible')\nelse:\n    print('Impossible')\n", "passed": true, "time": 0.26, "memory": 14284.0, "status": "done"}, {"code": "a, b = map(int, input().split())\n\nif a % 3 == 0 or b % 3 == 0 or (a + b) % 3 == 0:\n    print('Possible')\nelse:\n    print('Impossible') ", "passed": true, "time": 0.27, "memory": 14076.0, "status": "done"}, {"code": "A_mai, B_mai = map(int, input().split())\nsumm = A_mai + B_mai\n\nif (A_mai % 3 == 0 or B_mai % 3 == 0 or summ % 3 == 0):\n    print('Possible')\nelse:\n    print('Impossible')", "passed": true, "time": 0.26, "memory": 14300.0, "status": "done"}, {"code": "A,B = map(int,input().split())\n\nif A % 3 == 0 or B % 3 == 0 or (A + B) % 3 == 0:\n    print('Possible')\nelse:\n    print('Impossible')", "passed": true, "time": 0.22, "memory": 14052.0, "status": "done"}, {"code": "a, b = list(map(int, input().split()))\nif a % 3 == 0 or b % 3 == 0 or (a + b) % 3 == 0:\n    print(\"Possible\")\nelse:\n    print(\"Impossible\")\n", "passed": true, "time": 0.2, "memory": 14316.0, "status": "done"}, {"code": "a,b=map(int,input().split())\nif a%3==0 or b%3==0 or (a+b)%3==0:print(\"Possible\")\nelse:print(\"Impossible\")", "passed": true, "time": 0.2, "memory": 14212.0, "status": "done"}, {"code": "a, b = list(map(int, input().split()))\nif a % 3 == 0 or b % 3 == 0:\n    print(\"Possible\")\nelif a % 3 == 1 and b % 3 == 2:\n    print(\"Possible\")\nelif a % 3 == 2 and b % 3 == 1:\n    print(\"Possible\")\nelse:\n    print(\"Impossible\")\n", "passed": true, "time": 0.26, "memory": 14152.0, "status": "done"}, {"code": "A, B = map(int, input().split())\n\nif A % 3 == 0 or B % 3 == 0 or (A + B) % 3 == 0:\n    print('Possible')\nelse:\n    print('Impossible')", "passed": true, "time": 0.14, "memory": 14320.0, "status": "done"}, {"code": "a,b=map(int,input().split())\nif a%3==0 or b%3==0 or (a+b)%3==0:\n    print(\"Possible\")\nelse:\n    print(\"Impossible\")", "passed": true, "time": 0.15, "memory": 14264.0, "status": "done"}, {"code": "A, B = map(int, input().split())\nprint('Possible' if (A*B%3==0) or ((A+B)%3==0) else 'Impossible')", "passed": true, "time": 0.14, "memory": 14184.0, "status": "done"}, {"code": "a,b = map(int,input().split())\nif a%3 == 0 or b % 3 == 0 or (a+b)%3 == 0:\n  print(\"Possible\")\nelse:\n  print(\"Impossible\")", "passed": true, "time": 0.14, "memory": 14176.0, "status": "done"}, {"code": "a,b=map(int,input().split());print(['Imp','P'][a%3==0 or b%3==0 or (a+b)%3==0]+'ossible')", "passed": true, "time": 0.14, "memory": 14208.0, "status": "done"}, {"code": "a, b = map(int, input().split())\n# int\u306f\u5165\u529b\u306b\u5bfe\u3057\u3066\u306e\u95a2\u6570\u3001\u51fa\u529b\u3067\u306f\u306a\u3044\n\nif (a+b)%3 == 0:\n    print(\"Possible\")\nelif a%3 == 0:\n    print(\"Possible\")\nelif b%3 == 0:\n    print(\"Possible\")\nelse:\n    print(\"Impossible\")", "passed": true, "time": 0.24, "memory": 14256.0, "status": "done"}, {"code": "# \u30af\u30c3\u30ad\u30fc\u679a\u6570\uff08A,B\uff09\u3092\u6574\u6570\u3067\u5165\u529b\nA,B = map(int,input().split())\n# A\u304bB\u304bA+B\u306e\u3069\u308c\u304b\u30923\u5339\u306b\u5206\u3051\u308c\u308c\u3070Possible\u3001\u3067\u304d\u306a\u3051\u308c\u3070Impossible\nif A%3==0 or B%3==0 or (A+B)%3==0:\n    print(\"Possible\")\nelse:\n    print(\"Impossible\")", "passed": true, "time": 0.14, "memory": 14288.0, "status": "done"}, {"code": "a, b = map(int, input().split())\n\nif a % 3 == 0 or b % 3 == 0 or (a + b) % 3 == 0:\n    print(\"Possible\")\nelse:\n    print(\"Impossible\")", "passed": true, "time": 0.21, "memory": 14272.0, "status": "done"}, {"code": "A,B=list(map(int,input().split()))\nif A%3==0 or B%3==0 or (A+B)%3==0:\n    print(\"Possible\")\nelse:\n    print(\"Impossible\")\n", "passed": true, "time": 0.14, "memory": 14304.0, "status": "done"}, {"code": "#   AtCoder abc067 a\n#   \u30b9\u30c8\u30ec\u30c3\u30c1\u8ab2\u984c\n\n#   \u5165\u529b\na, b = list(map(int, input().split()))\n\n#   \u5224\u5b9a\nif (a % 3 == 0) or (b % 3 == 0) or ((a + b) % 3 == 0):\n    print(\"Possible\")\nelse:\n    print(\"Impossible\")\n", "passed": true, "time": 0.14, "memory": 14236.0, "status": "done"}, {"code": "a,b = list(map(int,input().split()))\nprint((\"Possible\" if a%3==0 or b%3==0 or (a+b)%3==0 else \"Impossible\"))\n", "passed": true, "time": 0.17, "memory": 14296.0, "status": "done"}, {"code": "a,b=input().split()\na=int(a)\nb=int(b)\nif ((a+b)%3)==0:\n  print(\"Possible\")\nelse:\n  if (a%3)==0:\n    print(\"Possible\")\n  else:\n    if (b%3)==0:\n      print(\"Possible\")\n    else:\n      print(\"Impossible\")", "passed": true, "time": 0.15, "memory": 14092.0, "status": "done"}, {"code": "A,B = map(int, input().split())\nprint('Possible' if A%3 == 0 or B%3 == 0 or (A+B)%3 == 0 else 'Impossible')", "passed": true, "time": 0.14, "memory": 14052.0, "status": "done"}, {"code": "a, b = map(int,input().split())\nif a % 3 == 0 or b % 3 == 0 or (a+b) % 3 == 0: \n    print('Possible')\nelse:\n    print('Impossible')", "passed": true, "time": 0.14, "memory": 14268.0, "status": "done"}, {"code": "a, b = list(map(int, input().split()))\nif a%3==0 or b%3==0 or (a+b)%3==0:\n    print(\"Possible\")\nelse:\n    print(\"Impossible\")\n", "passed": true, "time": 0.14, "memory": 14172.0, "status": "done"}, {"code": "a,b = [int(x) for x in input().split()]\nif a % 3 == 0 or b % 3 == 0 or (a+b) % 3 == 0:\n  print(\"Possible\")\nelse:\n  print(\"Impossible\")", "passed": true, "time": 0.14, "memory": 14072.0, "status": "done"}, {"code": "lst = input().split()\n\nA = int(lst[0])\nB = int(lst[1])\n\nif (A % 3 == 0) or (B % 3 == 0) or ((A + B) % 3 == 0):\n   print('Possible')\nelse:\n   print('Impossible')", "passed": true, "time": 0.29, "memory": 14120.0, "status": "done"}, {"code": "A, B = map(int, input().split())\nprint('Possible' if (A*B%3==0) or ((A+B)%3==0) else 'Impossible')", "passed": true, "time": 0.14, "memory": 14324.0, "status": "done"}, {"code": "A, B = map(int,input().split())\n\nif A % 3 == 0 or B % 3 ==0 or (A + B) % 3 ==0:\n    print(\"Possible\")\nelse:\n    print(\"Impossible\")", "passed": true, "time": 0.14, "memory": 14092.0, "status": "done"}, {"code": "A, B = map(int, input().split())\nprint('Possible' if A%3==0 or B%3==0 or (A+B)%3==0 else 'Impossible')", "passed": true, "time": 0.15, "memory": 14084.0, "status": "done"}, {"code": "# \u5165\u529b\nA, B = map(int, input().split())\n\n# \u51fa\u529b\nif A % 3 == 0 or B % 3 == 0 or (A + B) % 3 == 0:\n    print('Possible')\nelse:\n    print('Impossible')", "passed": true, "time": 0.18, "memory": 14084.0, "status": "done"}, {"code": "A, B = map(int, input().split())\n\nif A % 3 == 0 or B % 3 == 0 or (A + B) % 3 == 0:\n    print('Possible')\nelse:\n    print('Impossible')", "passed": true, "time": 0.14, "memory": 14180.0, "status": "done"}, {"code": "A, B = map(int, input().split())\nprint('Possible' if (A*B%3==0) or ((A+B)%3==0) else 'Impossible')", "passed": true, "time": 0.17, "memory": 14288.0, "status": "done"}, {"code": "a, b=map(int, input().split())\nif a%3==0 or b%3==0 or (a+b)%3==0:\n  print('Possible')\nelse:\n  print('Impossible')", "passed": true, "time": 0.21, "memory": 14288.0, "status": "done"}, {"code": "a, b = map(int, input().split())\n\nif a % 3 == 0 or b % 3 == 0 or (a + b) % 3 == 0:\n    print('Possible')\nelse:\n    print('Impossible')", "passed": true, "time": 0.15, "memory": 14104.0, "status": "done"}, {"code": "a,b = list(map(int,input().split()))\nprint((\"Possible\" if a % 3 == 0 or b % 3 == 0 or (a+b) % 3 == 0 else \"Impossible\"))\n", "passed": true, "time": 0.15, "memory": 14176.0, "status": "done"}, {"code": "a,b = map(int,input().split())\n\nif a%3 == 0 or b%3 == 0 or (a+b)%3 ==0:\n  print('Possible')\n  \nelse:\n  print('Impossible')", "passed": true, "time": 0.19, "memory": 14336.0, "status": "done"}, {"code": "a,b=map(int, input().split())\nprint(\"Possible\" if a*b*(a+b)%3==0 else \"Impossible\")", "passed": true, "time": 0.19, "memory": 14256.0, "status": "done"}, {"code": "A, B = map(int, input().split())\nif A%3==0 or B%3==0 or (A+B)%3==0:\n  print(\"Possible\")\nelse:\n  print(\"Impossible\")", "passed": true, "time": 0.14, "memory": 14112.0, "status": "done"}, {"code": "a, b = input().split()\n\nif int(a) % 3 == 0 or int(b) % 3 == 0 or (int(a) + int(b)) % 3 == 0:\n    print(\"Possible\")\nelse:\n    print(\"Impossible\")", "passed": true, "time": 0.15, "memory": 14212.0, "status": "done"}, {"code": "x,y=map(int,input().split())\nif x%3==0 or y%3==0 or (x+y)%3==0:\n    print('Possible')\nelse:\n    print('Impossible')", "passed": true, "time": 0.17, "memory": 14080.0, "status": "done"}, {"code": "A, B = map(int, input().split())\n\ntotal = A + B\n\nif total % 3 == 0 or A % 3 ==0 or B % 3 ==0:\n    print(\"Possible\")\nelse:\n    print(\"Impossible\")", "passed": true, "time": 0.14, "memory": 14068.0, "status": "done"}, {"code": "a,b=list(map(int,input().split()))\nif a%3==0 or b%3==0 or (a+b)%3==0:\n  print(\"Possible\")\nelse:\n  print(\"Impossible\")\n", "passed": true, "time": 0.14, "memory": 14108.0, "status": "done"}, {"code": "def iroha():\n    a,b = map(int, input().split())\n    aa = a % 3\n    bb = b % 3\n    cc = (a+b) % 3\n\n    print(\"Possible\") if aa == 0 or bb == 0 or cc == 0 else print(\"Impossible\")\n\n\ndef __starting_point():\n    iroha()\n\n\n__starting_point()", "passed": true, "time": 0.14, "memory": 14140.0, "status": "done"}, {"code": "# \u5165\u529b\nA, B = map(int, input().split())\n\n# A,B,A+B\u306e\u3046\u3061\u3069\u308c\u304b1\u3064\u3067\u30823\u3067\u5272\u308a\u5207\u308c\u308c\u3070Possible\nif A % 3 == 0:\n    print('Possible')\nelif B % 3 == 0:\n    print('Possible')\nelif (A + B) % 3 == 0:\n    print('Possible')\nelse:\n    print('Impossible')", "passed": true, "time": 0.18, "memory": 14308.0, "status": "done"}, {"code": "a,b = map(int,input().split())\nprint(\"Possible\" if a%3==0 or b%3==0 or (a+b)%3==0 else \"Impossible\")", "passed": true, "time": 0.14, "memory": 14056.0, "status": "done"}, {"code": "a,b = map(int,input().split())\nif a%3==0 or b%3==0 or (a+b)%3==0:\n  print('Possible')\nelse:\n  print('Impossible')", "passed": true, "time": 0.14, "memory": 14184.0, "status": "done"}, {"code": "# A - Sharing Cookies\n\n# 3\u5339\u306e\u30e4\u30ae\u306b\u30af\u30c3\u30ad\u30fc\u3092\u6e21\u3057\u305f\u3044\n# A \u679a\u5165\u3063\u305f\u30af\u30c3\u30ad\u30fc\u304c\u5165\u3063\u305f\u7f36\n# B \u679a\u5165\u3063\u305f\u30af\u30c3\u30ad\u30fc\u304c\u5165\u3063\u305f\u7f36\n# A B \u7f36\u3092\u6301\u3063\u3066\u3044\u308b\u3002\n\n#  A, B, A + B \u306e\u3044\u305a\u308c\u304b\u306e\u679a\u6570\u3092\u30e4\u30ae\u306b\u6e21\u3059\u3053\u3068\u304c\u3067\u304d\u308b\n\n# 3\u5339\u306e\u30e4\u30ae\u304c\u540c\u3058\u679a\u6570\u98df\u3079\u308c\u308b\u3088\u3046\u306b\u6e21\u305b\u308b\u304b\u5224\u5b9a\u3059\u308b\n# \u53ef\u80fd\u306a\u3089 Possible    \u4e0d\u53ef\u80fd\u306a\u3089 Impossible\n\n# A B \u3092\u6a19\u6e96\u5165\u529b\u3067\u53d6\u5f97\nA, B = list(map(int, input().split()))\n# print(A, B)\n\n# A \u306e\u5834\u5408 B\u306e\u5834\u5408 A + B \u306e\u5834\u5408\u3067\u5206\u3051\u308b\n# \u305d\u308c\u305e\u308c\u306e\u4f59\u308a\u304c 0 \u306e\u6642 Possible\n# \u305d\u308c\u4ee5\u5916\u306f Impossible\n\nif A % 3 == 0:\n    answer = \"Possible\"\nelif B % 3 == 0:\n    answer = \"Possible\"\nelif (A + B) % 3 ==0:\n    answer = \"Possible\"\nelse:\n    answer = \"Impossible\"\n\n# \u7d50\u679c\u3092\u51fa\u529b\nprint(answer)\n", "passed": true, "time": 0.14, "memory": 14244.0, "status": "done"}, {"code": "a,b=map(int, input().split())\nif a%3==0 or b%3==0 or (a+b)%3==0:\n    print(\"Possible\")\nelse:\n    print(\"Impossible\")", "passed": true, "time": 0.14, "memory": 14084.0, "status": "done"}, {"code": "A, B = map(int, input().split())\nif A % 3 == 0 or B % 3 == 0 or (A + B) % 3 == 0:\n    print('Possible')\nelse:\n    print('Impossible')", "passed": true, "time": 0.14, "memory": 14180.0, "status": "done"}, {"code": "A, B = map(int, input().split())\n\nprint(\"Possible\" if (A * B * (A+B)) % 3 == 0 else \"Impossible\")", "passed": true, "time": 0.14, "memory": 14052.0, "status": "done"}, {"code": "'''\nABC067 A - Sharing Cookies\nhttps://atcoder.jp/contests/abc067/tasks/abc067_a\n'''\n\na, b = list(map(int, input().split()))\nif a%3 == 0 or b%3 == 0 or (a+b)%3 == 0:\n    ans = \"Possible\"\nelse:\n    ans = \"Impossible\"\nprint(ans)\n", "passed": true, "time": 0.14, "memory": 14264.0, "status": "done"}, {"code": "# A - Sharing Cookies\n# https://atcoder.jp/contests/abc067/tasks/abc067_a\n\nA, B = list(map(int, input().split()))\n\nresult = 'Impossible'\n\nif A % 3 == 0 or B % 3 == 0 or (A + B) % 3 == 0:\n    result = 'Possible'\n\nprint(result)\n", "passed": true, "time": 0.14, "memory": 14240.0, "status": "done"}, {"code": "A, B = list(map(int, input().split()))\n\nfor i in [A, B, A + B]:\n    if i % 3 == 0:\n        print(\"Possible\")\n        return\nprint(\"Impossible\")\n", "passed": true, "time": 0.14, "memory": 14088.0, "status": "done"}, {"code": "# \u679a\u6570\u3092\u53d6\u5f97\nA,B = map(int,input().split())\nTotal = A + B\n\n# \u3044\u305a\u308c\u304b\u306e\u30d1\u30bf\u30fc\u30f3\u30673\u5206\u5272\u5747\u7b49\u306b\u3067\u304d\u308b\u304b\u3092\u5224\u5b9a\u5f8c\u30e1\u30c3\u30bb\u30fc\u30b8\u3092\u51fa\u529b\nif A % 3 == 0 \\\nor B % 3 == 0 \\\nor Total % 3 == 0:\n    print(\"Possible\")\nelse:\n    print(\"Impossible\")", "passed": true, "time": 0.15, "memory": 14132.0, "status": "done"}, {"code": "A,B=map(int,input().split())\nif A%3==0 or B%3==0 or (A+B)%3==0 :\n  print(\"Possible\")\nelse :\n  print(\"Impossible\")", "passed": true, "time": 0.22, "memory": 14072.0, "status": "done"}, {"code": "a, b = map(int, input().split())\n\nif a % 3 == 0 or b % 3 == 0 or (a + b) % 3 == 0:\n    print('Possible')\nelse:\n    print('Impossible')", "passed": true, "time": 0.22, "memory": 14080.0, "status": "done"}, {"code": "a,b=map(int,input().split())\nif a%3==0 or b%3==0 or (a+b)%3==0:print('Possible')\nelse:print('Impossible')", "passed": true, "time": 0.14, "memory": 14288.0, "status": "done"}, {"code": "A, B = map(int,input().split())\n\nif A % 3 == 0 or B % 3 == 0 or (A + B) % 3 == 0 :\n    print( \"Possible\" )\nelse:\n    print( \"Impossible\" )", "passed": true, "time": 0.2, "memory": 14088.0, "status": "done"}, {"code": "A, B = map(int, input().split())\nprint('Possible' if (A*B%3==0) or ((A+B)%3==0) else 'Impossible')", "passed": true, "time": 0.14, "memory": 14292.0, "status": "done"}, {"code": "#\n# abc067 a\n#\nimport sys\nfrom io import StringIO\nimport unittest\n\n\nclass TestClass(unittest.TestCase):\n    def assertIO(self, input, output):\n        stdout, stdin = sys.stdout, sys.stdin\n        sys.stdout, sys.stdin = StringIO(), StringIO(input)\n        resolve()\n        sys.stdout.seek(0)\n        out = sys.stdout.read()[:-1]\n        sys.stdout, sys.stdin = stdout, stdin\n        self.assertEqual(out, output)\n\n    def test_\u5165\u529b\u4f8b_1(self):\n        input = \"\"\"4 5\"\"\"\n        output = \"\"\"Possible\"\"\"\n        self.assertIO(input, output)\n\n    def test_\u5165\u529b\u4f8b_2(self):\n        input = \"\"\"1 1\"\"\"\n        output = \"\"\"Impossible\"\"\"\n        self.assertIO(input, output)\n\n\ndef resolve():\n    A, B = list(map(int, input().split()))\n    if A % 3 == 0 or B % 3 == 0 or (A+B) % 3 == 0:\n        print(\"Possible\")\n    else:\n        print(\"Impossible\")\n\n\ndef __starting_point():\n    # unittest.main()\n    resolve()\n\n__starting_point()", "passed": true, "time": 0.14, "memory": 14464.0, "status": "done"}, {"code": "a,b = map(int,input().split())\nif a%3 == 0 or b%3 == 0 or (a+b)%3 == 0:\n    print(\"Possible\")\nelse:\n    print(\"Impossible\")", "passed": true, "time": 0.14, "memory": 14112.0, "status": "done"}, {"code": "# 067a\n\nA, B = list(map(int, input().split()))\n\nif A % 3 == 0 or B % 3 == 0 or (A + B) % 3 == 0:\n    print('Possible')\nelse:\n    print('Impossible')\n", "passed": true, "time": 0.14, "memory": 14180.0, "status": "done"}, {"code": "a, b = map(int, input().split())\n\ntotal = a + b\nif total % 3 == 0:\n    print('Possible')\nelif a % 3 == 0:\n    print('Possible')\nelif b % 3 == 0:\n    print('Possible')\nelse:\n    print('Impossible')", "passed": true, "time": 0.14, "memory": 14200.0, "status": "done"}, {"code": "# \u3059\u306c\u3051\u304f\u3093\u306f 3\u5339\u306e\u30e4\u30ae\u306b\u30af\u30c3\u30ad\u30fc\u3092\u6e21\u3057\u305f\u3044\u3067\u3059\u3002\n# \u3059\u306c\u3051\u304f\u3093\u306f A\u679a\u306e\u30af\u30c3\u30ad\u30fc\u304c\u5165\u3063\u305f\u7f36\u3068\u3001\n# B\u679a\u306e\u30af\u30c3\u30ad\u30fc\u304c\u5165\u3063\u305f\u7f36\u3092\u6301\u3063\u3066\u3044\u307e\u3059\u3002\n# \u3059\u306c\u3051\u304f\u3093\u306f A, B, A + B \u306e\u3044\u305a\u308c\u304b\u306e\u679a\u6570\u306e\u30af\u30c3\u30ad\u30fc\u3092\n# \u30e4\u30ae\u305f\u3061\u306b\u6e21\u3059\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u3002\n# 3\u5339\u306e\u30e4\u30ae\u304c\u540c\u3058\u679a\u6570\u305a\u3064\u98df\u3079\u3089\u308c\u308b\u3088\u3046\u306b\n# \u30af\u30c3\u30ad\u30fc\u3092\u6e21\u3059\u3053\u3068\u304c\u53ef\u80fd\u304b\u3069\u3046\u304b\u5224\u5b9a\u3057\u3066\u304f\u3060\u3055\u3044\u3002\n\n# \u5236\u7d04\n# 1 \u2266 A, B \u2266 100\n# A, B \u306f\u3044\u305a\u308c\u3082\u6574\u6570\n\n# \u6a19\u6e96\u5165\u529b\u304b\u3089 A, B \u3092\u53d6\u5f97\u3059\u308b\na, b = list(map(int, input().split()))\n\n\nresult = \"ret\"\n\n# \u4ee5\u4e0b\u3001\u5224\u5b9a\u51e6\u7406\nif a % 3 == 0:  # A\u306e\u7f36\u3060\u3051\u3092\u6e21\u3057\u3066\u30013\u7b49\u5206\u3067\u304d\u308b\n    result = \"Possible\"\nelif b % 3 == 0:  # B\u306e\u7f36\u3060\u3051\u3092\u6e21\u3057\u3066\u30013\u7b49\u5206\u3067\u304d\u308b\n    result = \"Possible\"\nelif (a + b) % 3 == 0:  # A + B \u7f36\u3092\u6e21\u3057\u3066\u30013\u7b49\u5206\u3067\u304d\u308b\n    result = \"Possible\"\nelse:\n    result = \"Impossible\"\n\nprint(result)\n", "passed": true, "time": 0.14, "memory": 14088.0, "status": "done"}, {"code": "a,b=map(int,input().split())\nif a%3==0 or b%3==0 or (a+b)%3==0:\n    print(\"Possible\")\nelse:\n    print(\"Impossible\")", "passed": true, "time": 0.14, "memory": 14228.0, "status": "done"}, {"code": "a,b = map(int,input().split())\n\nif a % 3 == 0 or b % 3 == 0 or (a + b) % 3 == 0:\n    print('Possible')\nelse:\n    print('Impossible')", "passed": true, "time": 0.14, "memory": 14268.0, "status": "done"}, {"code": "a,b=map(int,input().split())\nif a*b*(a+b)%3==0:\n  print(\"Possible\")\nelse:\n  print(\"Impossible\")", "passed": true, "time": 0.14, "memory": 14032.0, "status": "done"}]