Dolphin loves programming contests. Today, he will take part in a contest in AtCoder.

In this country, 24-hour clock is used. For example, 9:00 p.m. is referred to as "21 o'clock".

The current time is A o'clock, and a contest will begin in exactly B hours.
When will the contest begin? Answer in 24-hour time.

-----Constraints-----
 - 0 \leq A,B \leq 23
 - A and B are integers.

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

-----Output-----
Print the hour of the starting time of the contest in 24-hour time.

-----Sample Input-----
9 12

-----Sample Output-----
21

In this input, the current time is 9 o'clock, and 12 hours later it will be 21 o'clock in 24-hour time.
[{"code": "a,b = map(int,input().split())\nb += a\nif b>23:\n    print(b-24)\nelse:\n    print(b)", "passed": true, "time": 0.17, "memory": 14124.0, "status": "done"}, {"code": "#\n# abc057 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 = \"\"\"9 12\"\"\"\n        output = \"\"\"21\"\"\"\n        self.assertIO(input, output)\n\n    def test_\u5165\u529b\u4f8b_2(self):\n        input = \"\"\"19 0\"\"\"\n        output = \"\"\"19\"\"\"\n        self.assertIO(input, output)\n\n    def test_\u5165\u529b\u4f8b_3(self):\n        input = \"\"\"23 2\"\"\"\n        output = \"\"\"1\"\"\"\n        self.assertIO(input, output)\n\n\ndef resolve():\n    A, B = list(map(int, input().split()))\n    print(((A+B) % 24))\n\n\ndef __starting_point():\n    # unittest.main()\n    resolve()\n\n__starting_point()", "passed": true, "time": 0.14, "memory": 14516.0, "status": "done"}, {"code": "a, b = map(int, input().split())\nif a+b >=24:\n  print(a+b-24)\nelse:\n  print(a+b)", "passed": true, "time": 0.15, "memory": 14348.0, "status": "done"}, {"code": "a,b=map(int,input().split())\nprint((a+b)%24)", "passed": true, "time": 0.22, "memory": 14216.0, "status": "done"}, {"code": "A, B = map(int,input().split())\nprint((A+B)%24)", "passed": true, "time": 0.14, "memory": 14256.0, "status": "done"}, {"code": "# 057_a\nA, B = list(map(int, input().split()))\n\nif (0 <= A & A <= 23) & (0 <= B & B <= 23):\n    if (A + B) > 24:\n        print(((A + B) - 24))\n    elif (A + B) == 24:\n        print((0))\n    else:\n        print((A + B))\n", "passed": true, "time": 0.16, "memory": 14248.0, "status": "done"}, {"code": "a, b = map(int, input().split())\nprint(a+b if a+b<24 else a+b-24)", "passed": true, "time": 1.17, "memory": 14096.0, "status": "done"}, {"code": "a, b = map(int, input().split())\nprint((a+b)%24)", "passed": true, "time": 0.14, "memory": 14164.0, "status": "done"}, {"code": "A,B = list(map(int, input().split()))\nif A+B < 24:\n    print((A+B))\nelif A+B >= 24:\n    print((A+B-24))\n", "passed": true, "time": 0.23, "memory": 14288.0, "status": "done"}, {"code": "A, B = list(map(int, input().split()))\nif A+B<24:\n    print((A+B))\nelse:\n    print((A+B-24))\n", "passed": true, "time": 0.17, "memory": 14328.0, "status": "done"}, {"code": "a, b = map(int, input().split())\nprint((a+b)%24)", "passed": true, "time": 0.17, "memory": 14100.0, "status": "done"}, {"code": "A, B = map(int, input().split())\nprint((A+B)%24)", "passed": true, "time": 0.14, "memory": 14284.0, "status": "done"}, {"code": "a,b=map(int,input().split())\nif a+b<24:\n    print(a+b)\nelse:\n    print(a+b-24)", "passed": true, "time": 0.16, "memory": 14288.0, "status": "done"}, {"code": "def iroha():\n    a, b = list(map(int, input().split()))\n\n    num = a + b\n    if num >= 24:\n        new_num = num % 24\n        print(new_num)\n    else:\n        print(num)\n\ndef __starting_point():\n    iroha()\n\n\n__starting_point()", "passed": true, "time": 0.16, "memory": 14204.0, "status": "done"}, {"code": "# A - Remaining Time\n\n# \u73fe\u5728\u6642\u523b\u306fA\u6642\u3067\u3001\u30b3\u30f3\u30c6\u30b9\u30c8\u306fB\u6642\u9593\u5f8c\u306b\u59cb\u307e\u308b\n# \u30b3\u30f3\u30c6\u30b9\u30c8\u306e\u958b\u59cb\u6642\u523b\u306f\u300124\u6642\u9593\u8868\u8a18\u3067\u4f55\u6642\u304b\uff1f\n\n\nA,B = list(map(int,input().split()))\n\nanswer = A + B\n\nif answer < 24:\n    print(answer)\nelse:\n    print((answer - 24))\n", "passed": true, "time": 0.14, "memory": 14112.0, "status": "done"}, {"code": "a,b=map(int,input().split())\nprint((a+b)%24)", "passed": true, "time": 0.14, "memory": 14212.0, "status": "done"}, {"code": "# \u5165\u529b\nA, B = map(int, input().split())\n\n# 24\u6642\u9593\u8868\u8a18\u306b\u5408\u308f\u305b\u3066\u51fa\u529b\nif A + B > 23:\n    print((A + B) % 24)\nelse:\n    print(A + B)", "passed": true, "time": 0.14, "memory": 14340.0, "status": "done"}, {"code": "a,b = map(int,input().split())\nprint((a+b)%24)", "passed": true, "time": 0.14, "memory": 14200.0, "status": "done"}, {"code": "a, b = map(int, input().split())\nif(a+b < 24):\n    print(a+b)\nelse:\n    print(a+b-24)", "passed": true, "time": 0.14, "memory": 14120.0, "status": "done"}, {"code": "a,b = map(int,input().split())\nprint((a+b) % 24)", "passed": true, "time": 0.14, "memory": 14168.0, "status": "done"}, {"code": "a, b = list(map(int, input().split()))\n\nprint(((a + b) % 24))\n", "passed": true, "time": 0.14, "memory": 14300.0, "status": "done"}, {"code": "a,b=map(int,input().split())\nprint((a+b)%24)", "passed": true, "time": 0.19, "memory": 14260.0, "status": "done"}, {"code": "a,b=map(int,input().split());print((a+b)%24)", "passed": true, "time": 0.23, "memory": 14212.0, "status": "done"}, {"code": "a, b = map(int, input().split())\n\nans = a + b;\n\nif ans >= 24:\n    ans = ans - 24\n\nprint(ans)", "passed": true, "time": 0.15, "memory": 14316.0, "status": "done"}, {"code": "A, B = map(int, input().split())\nprint((A+B)%24)", "passed": true, "time": 0.14, "memory": 14076.0, "status": "done"}, {"code": "a,b = map(int,input().split())\n\nprint((a+b) % 24)", "passed": true, "time": 0.14, "memory": 14300.0, "status": "done"}, {"code": "A,B = map(int,input().split())\n\nif A + B >= 24:\n    print((A + B) - 24)\nelse:\n    print(A + B)", "passed": true, "time": 0.14, "memory": 14096.0, "status": "done"}, {"code": "a,b = map(int,input().split())\nt = a + b\nif t >= 24:\n    print(t - 24)\nelse:\n    print(t)", "passed": true, "time": 0.14, "memory": 14324.0, "status": "done"}, {"code": "a,b=map(int,input().split());print([a+b,a+b-24][a+b>=24])", "passed": true, "time": 0.14, "memory": 14312.0, "status": "done"}, {"code": "A,B = map(int,input().split())\nresult = A+B if 24 > A+B else A+B-24\nprint(result)", "passed": true, "time": 0.14, "memory": 14100.0, "status": "done"}, {"code": "a, b = map(int, input().split())\nprint((a+b)%24)", "passed": true, "time": 0.14, "memory": 14276.0, "status": "done"}, {"code": "# \u5165\u529b\nA, B = map(int,input().split())\n\n# \u51e6\u7406\nstart = A + B\nif start >= 24:\n    print(start - 24)\nelse:\n    print(start)", "passed": true, "time": 0.14, "memory": 14288.0, "status": "done"}, {"code": "a, b = map(int, input().split())\nprint((a + b) % 24)", "passed": true, "time": 0.16, "memory": 14276.0, "status": "done"}, {"code": "a,b=map(int,input().split())\nprint((a+b)%24)", "passed": true, "time": 0.15, "memory": 14064.0, "status": "done"}, {"code": "A, B = map(int, input().split())\nprint((A+B)%24)", "passed": true, "time": 0.14, "memory": 14272.0, "status": "done"}, {"code": "a,b=map(int,input().split())\nprint((a+b)%24)", "passed": true, "time": 0.51, "memory": 14056.0, "status": "done"}, {"code": "a, b = map(int, input().split())\n\nprint((a + b) % 24)", "passed": true, "time": 0.24, "memory": 14168.0, "status": "done"}, {"code": "A,B=map(int,input().split())\nprint((A+B)%24)", "passed": true, "time": 0.14, "memory": 14252.0, "status": "done"}, {"code": "a, b = input().split()\n\nif int(a) + int(b) < 24:\n    print(int(a) + int(b))\nelif int(a) + int(b) >= 24:\n    print(int(a) + int(b) - 24)", "passed": true, "time": 0.14, "memory": 14364.0, "status": "done"}, {"code": "a,b = [int(x) for x in input().split()]\nprint((a+b)%24)", "passed": true, "time": 0.14, "memory": 14344.0, "status": "done"}, {"code": "A, B = list(map(int, input().split()))\n\nif A + B <= 23:\n    print((A + B))\nelse:\n    print(((A + B) - 24))\n", "passed": true, "time": 0.15, "memory": 14232.0, "status": "done"}, {"code": "a, b = map(int, input().split())\nx = a + b\nif x < 24:\n  print(x)\nelse:\n  print(x - 24)", "passed": true, "time": 0.24, "memory": 14124.0, "status": "done"}, {"code": "x,y = map(int,input().split())\nprint((x+y)%24)", "passed": true, "time": 0.15, "memory": 14256.0, "status": "done"}, {"code": "x,y = map(int, input().split())\nprint((x+y)%24)", "passed": true, "time": 0.23, "memory": 14200.0, "status": "done"}, {"code": "print((sum(map(int,input().split()))%24))\n", "passed": true, "time": 0.14, "memory": 14192.0, "status": "done"}, {"code": "a,b=map(int,input().split())\nif a+b>23:\n  print(a+b-24)\nelse:\n  print(a+b)", "passed": true, "time": 0.15, "memory": 14228.0, "status": "done"}, {"code": "# \u30a4\u30eb\u30ab\u306f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b3\u30f3\u30c6\u30b9\u30c8\u597d\u304d\u3067\u3001\u4eca\u65e5\u306fAtCoder\u306e\u30b3\u30f3\u30c6\u30b9\u30c8\u306b\u53c2\u52a0\u3057\u307e\u3059\u3002\n# \u73fe\u5728\u6642\u523b\u306f\u300124\u6642\u9593\u8868\u8a18(0:00\u301c23:59)\u3067A\u6642\u3061\u3087\u3046\u3069\u3067\u3042\u308a\u3001\u30b3\u30f3\u30c6\u30b9\u30c8\u304c\u3061\u3087\u3046\u3069B\u6642\u9593\u5f8c\u306b\u59cb\u307e\u308a\u307e\u3059\u3002\n# \u30b3\u30f3\u30c6\u30b9\u30c8\u306e\u958b\u59cb\u6642\u523b\u306f\u300124\u6642\u9593\u8868\u8a18\u3067\u4f55\u6642\u3061\u3087\u3046\u3069\u3067\u3057\u3087\u3046\u304b?\n\nA,B = map(int,input().split())\n\nif A + B < 24:\n    print(A + B)\n\nelse:\n    print((A + B) - 24)", "passed": true, "time": 0.22, "memory": 14332.0, "status": "done"}, {"code": "a,b=map(int,input().split())\n\nif a+b>=24:\n    print(a+b-24)\nelse:\n    print(a+b)", "passed": true, "time": 0.15, "memory": 14140.0, "status": "done"}, {"code": "a,b=map(int,input().split())\nprint(a+b if a+b < 24 else a+b-24)", "passed": true, "time": 0.21, "memory": 14136.0, "status": "done"}, {"code": "a,b=map(int,input().split())\nprint((a+b)%24)", "passed": true, "time": 0.14, "memory": 14064.0, "status": "done"}, {"code": "'''\nabc057 A - Remaining Time\nhttps://atcoder.jp/contests/abc057/tasks/abc057_a\n'''\n\na, b = list(map(int, input().split()))\nans = (a+b)%24\nprint(ans)\n", "passed": true, "time": 0.14, "memory": 14308.0, "status": "done"}, {"code": "A, B = map(int, input().split())\n\nif A + B >= 24:\n    print(A + B - 24)\nelse:\n    print(A + B)", "passed": true, "time": 0.14, "memory": 14100.0, "status": "done"}, {"code": "a, b = map(int, input().split())\n\nprint((a + b) % 24)", "passed": true, "time": 0.14, "memory": 14040.0, "status": "done"}, {"code": "\ndef main():\n    a, b = list(map(int, input().split()))\n    ans = a + b\n    if ans >= 24:\n        print((24-ans)*-1)\n    else:\n        print(ans)\n\n\n\ndef __starting_point():\n    main()\n__starting_point()", "passed": true, "time": 0.14, "memory": 14108.0, "status": "done"}, {"code": "a,b = map(int,input().split())\nans = (a + b) % 24\nprint(ans)", "passed": true, "time": 0.14, "memory": 14128.0, "status": "done"}, {"code": "a, b = list(map(int, input().split()))\nprint(((a+b) % 24))\n", "passed": true, "time": 0.14, "memory": 14328.0, "status": "done"}, {"code": "A , B = list(map(int,input().split()))\n\nif (A + B)<24:\n    print((A + B))\nelif (A + B)>=24:\n    print((A + B - 24))\n", "passed": true, "time": 0.14, "memory": 14212.0, "status": "done"}, {"code": "a,b = map(int,input().split())\nif a+b >= 24:\n    print((a+b)%24)\nelse:\n    print(a+b)", "passed": true, "time": 0.14, "memory": 14132.0, "status": "done"}, {"code": "a,b = map(int,input().split())\nprint(a+b if a+b < 24 else (a+b)%24)", "passed": true, "time": 0.28, "memory": 14188.0, "status": "done"}, {"code": "A,B = map(int,input().split())\n\nif A + B < 24:\n    print(A + B)\nif A + B >= 24:\n    print(A + B - 24)", "passed": true, "time": 0.26, "memory": 14112.0, "status": "done"}, {"code": "A,B=map(int,input().split())\nans=(A+B)%24\nprint(ans)", "passed": true, "time": 0.17, "memory": 14260.0, "status": "done"}, {"code": "# A - Remaining Time\n# https://atcoder.jp/contests/abc057/tasks/abc057_a\n\nA, B = list(map(int, input().split()))\n\nresult = A + B\nif result >= 24:\n    result -= 24\n\nprint(result)\n", "passed": true, "time": 0.14, "memory": 14232.0, "status": "done"}, {"code": "a,b=map(int,input().split())\nprint((a+b)%24)", "passed": true, "time": 0.26, "memory": 14064.0, "status": "done"}, {"code": "a,b = list(map(int,input().split()))\n\nprint(((a + b) % 24))\n", "passed": true, "time": 0.2, "memory": 14244.0, "status": "done"}, {"code": "a, b = list(map(int, input().split()))\nprint(((a + b) % 24))\n", "passed": true, "time": 0.2, "memory": 14332.0, "status": "done"}, {"code": "# \u5404\u6570\u5024\u306e\u53d6\u5f97\nA,B = map(int,input().split())\n\n# \u958b\u59cb\u6642\u9593\u306e\u8a08\u7b97\u3068\u51fa\u529b\nstart = A + B\nif start < 24:\n    print(start)\nelse:\n    start = start - 24\n    print(start)", "passed": true, "time": 1.45, "memory": 14068.0, "status": "done"}, {"code": "A,B=map(int,input().split())\nif A+B>=24:\n  print(A+B-24)\nelif A+B<24:\n  print(A+B)", "passed": true, "time": 0.25, "memory": 14224.0, "status": "done"}, {"code": "a,b = map(int, input().split())\nprint((a+b)%24)", "passed": true, "time": 0.17, "memory": 14056.0, "status": "done"}, {"code": "# A - Remaining Time \ndef main():\n    a, b = map(int, input().split())\n\n    if a+b < 24:\n        print(a+b)\n    else:\n        print(a+b-24)\n        \ndef __starting_point():\n    main()\n__starting_point()", "passed": true, "time": 0.17, "memory": 14308.0, "status": "done"}, {"code": "A, B = map(int, input().split())\nprint((A + B) % 24)", "passed": true, "time": 0.17, "memory": 14284.0, "status": "done"}, {"code": "a, b = map(int, input().split())\n\n\nprint((a+b)%24)", "passed": true, "time": 0.23, "memory": 14184.0, "status": "done"}, {"code": "A,B = map(int,input().split())\nprint(A+B-24 if A+B>=24 else A+B)", "passed": true, "time": 0.14, "memory": 14064.0, "status": "done"}, {"code": "a,b = map(int,input().split())\nprint((a+b)%24)", "passed": true, "time": 0.14, "memory": 14036.0, "status": "done"}, {"code": "a,b=map(int,input().split(\" \"))\nprint((a+b)%24)", "passed": true, "time": 0.14, "memory": 14284.0, "status": "done"}, {"code": "# \u73fe\u5728A\u6642\u3001B\u6642\u9593\u5f8c\u306b\u59cb\u307e\u308b\u30b3\u30f3\u30c6\u30b9\u30c8\u306e\u958b\u59cb\u6642\u523b\n\nA, B = map(int, input().split())\nstart = A + B\n\nif start >= 24:\n    print(start - 24)\nelse:\n    print(start)", "passed": true, "time": 0.14, "memory": 14160.0, "status": "done"}, {"code": "A, B = map(int, input().split())\nprint((A + B) % 24)", "passed": true, "time": 0.17, "memory": 14228.0, "status": "done"}, {"code": "# \u30a4\u30eb\u30ab\u306f\u30d7\u30ed\u30b0\u30e9\u30df\u30f3\u30b0\u30b3\u30f3\u30c6\u30b9\u30c8\u597d\u304d\u3067\u3001\u4eca\u65e5\u306fAtCoder\u306e\u30b3\u30f3\u30c6\u30b9\u30c8\u306b\u53c2\u52a0\u3057\u307e\u3059\u3002\n# \u73fe\u5728\u6642\u523b\u306f\u300124\u6642\u9593\u8868\u8a18(0:00 \u301c23:59) \u3067 A\u6642\u3061\u3087\u3046\u3069\u3067\u3042\u308a\u3001\n# \u30b3\u30f3\u30c6\u30b9\u30c8\u304c\u3061\u3087\u3046\u3069 B\u6642\u9593\u5f8c\u306b\u59cb\u307e\u308a\u307e\u3059\u3002\n# \u30b3\u30f3\u30c6\u30b9\u30c8\u306e\u958b\u59cb\u6642\u523b\u306f\u300124\u6642\u9593\u8868\u8a18\u3067\u4f55\u6642\u3061\u3087\u3046\u3069\u3067\u3057\u3087\u3046\u304b?\n\n# \u5236\u7d04\n# 0 \u2266 A, B \u2266 23\n# A, B \u306f\u6574\u6570\u3067\u3042\u308b\u3002\n\n# \u6a19\u6e96\u5165\u529b\u304b\u3089 A\u6642\u3001B\u6642\u3092\u53d6\u5f97\u3059\u308b\nhour_a,hour_b = list(map(int,input().split()))\n\n# \u30b3\u30f3\u30c6\u30b9\u30c8\u306e\u958b\u59cb\u6642\u9593\u3092\u8a08\u7b97\u3057\u51fa\u529b\u3059\u308b\ncontest_start_hour = 0  # \u30b3\u30f3\u30c6\u30b9\u30c8\u958b\u59cb\u6642\u9593\n\ncontest_start_hour = hour_a + hour_b\n\nif contest_start_hour >= 24:    # \u65e5\u4ed8\u5909\u308f\u3063\u3066\u308b\u3088\uff5e\n    contest_start_hour -= 24\n\nprint(contest_start_hour)\n", "passed": true, "time": 0.14, "memory": 14248.0, "status": "done"}, {"code": "a,b=map(int,input().split())\nif a+b >= 24:\n    print(a+b-24)\nelse:\n    print(a+b)", "passed": true, "time": 0.23, "memory": 14300.0, "status": "done"}, {"code": "A,B = map(int,input().split())\nprint((A+B) % 24)", "passed": true, "time": 0.23, "memory": 14064.0, "status": "done"}, {"code": "a=list(map(int,input().split()))\n\nb=a[0]+a[1]\nif b>=24:\n  b-=24\n\nprint(b)", "passed": true, "time": 0.14, "memory": 14260.0, "status": "done"}, {"code": "# 057a\n\nA, B = list(map(int, input().split()))\n\nif A + B > 23:\n    print((A + B - 24))\nelse:\n    print((A + B))\n", "passed": true, "time": 0.15, "memory": 14236.0, "status": "done"}, {"code": "A, B = map(int, input().split())\n\nif A + B <= 23:\n    print(A + B)\nelse:\n    print((A + B) - 24)", "passed": true, "time": 0.14, "memory": 14368.0, "status": "done"}, {"code": "#   AtCoder abc057 a\n#   \u30b9\u30c8\u30ec\u30c3\u30c1\u8ab2\u984c\n\n#   \u5165\u529b\na, b = list(map(int, input().split()))\n\n#   \u51e6\u7406\nif (a + b) >= 24:\n    answer = (a + b) - 24\nelse:\n    answer = a + b\nprint(answer)\n", "passed": true, "time": 0.14, "memory": 14256.0, "status": "done"}, {"code": "a,b = map(int,input().split())\nprint((a+b)%24)", "passed": true, "time": 0.14, "memory": 14040.0, "status": "done"}, {"code": "S_list = list(map(int,input().split()))\nans = S_list[0] + S_list[1]\nif  ans <24 :\n    result = ans\nelse:\n    result = ans - 24\nprint(result)\n", "passed": true, "time": 0.14, "memory": 14328.0, "status": "done"}, {"code": "a, b = list(map(int, input().split()))\nprint(((a + b) % 24))\n", "passed": true, "time": 0.14, "memory": 14120.0, "status": "done"}, {"code": "A,B=map(int,input().split())\nprint((A+B)%24)", "passed": true, "time": 0.14, "memory": 14216.0, "status": "done"}, {"code": "a,b = map(int,input().split())\nif a + b < 24:\n    print(a + b)\nelse:\n    print(a + b - 24)", "passed": true, "time": 0.14, "memory": 14368.0, "status": "done"}, {"code": "import sys\n\nsys.setrecursionlimit(10 ** 8)\nini = lambda: int(sys.stdin.readline())\ninl = lambda: [int(x) for x in sys.stdin.readline().split()]\nins = lambda: sys.stdin.readline().rstrip()\ndebug = lambda *a, **kw: print(\"\\033[33m\", *a, \"\\033[0m\", **dict(file=sys.stderr, **kw))\n\n\ndef solve():\n    a, b = inl()\n    return (a + b) % 24\n\n\nprint(solve())\n", "passed": true, "time": 0.14, "memory": 14168.0, "status": "done"}, {"code": "a,b=map(int, input().split())\nprint((a+b)%24)", "passed": true, "time": 0.22, "memory": 14272.0, "status": "done"}, {"code": "a,b=map(int,input().split())\nif a+b>=24:\n  print(a+b-24)\nelse:\n  print(a+b)", "passed": true, "time": 0.14, "memory": 14128.0, "status": "done"}, {"code": "a, b = map(int, input().split())\n\nprint((a + b) % 24)", "passed": true, "time": 0.14, "memory": 14232.0, "status": "done"}, {"code": "# \u5165\u529b\nA, B = map(int, input().split())\n\n# \u51fa\u529b\nif A + B == 24:\n    w = 0\nelif A + B > 24:\n    w = abs(24 - (A + B))\nelse:\n    w = A + B\n\n\nprint(w)", "passed": true, "time": 0.14, "memory": 14240.0, "status": "done"}, {"code": "#57\na,b=map(int,input().split())\nprint(int((a+b)%24))", "passed": true, "time": 0.14, "memory": 14184.0, "status": "done"}, {"code": "import sys, math\nfrom itertools import combinations as c, product as p\nfrom collections import deque\nsys.setrecursionlimit(10**9)\nMOD = 10**9 + 7\n#MOD = 998244353\n\n\ndef si(): return input()\ndef ii(): return int(input())\ndef fi(): return float(input())\ndef lstr(): return input().split()\ndef lint(): return list(map(int, input().split()))\ndef lint_dec(): return list(map(lambda x:int(x) - 1, input().split()))\ndef lnstr(n): return [input() for _ in range(n)]\ndef lnint(n): return [int(input()) for _ in range(n)]\ndef lint_list(n): return [lint() for _ in range(n)]\n\n\n\n############################################################\nA, B = lint()\nprint((A + B) % 24)", "passed": true, "time": 0.14, "memory": 14180.0, "status": "done"}, {"code": "a, b = map(int,input().split())\nprint((a+b) % 24) ", "passed": true, "time": 0.15, "memory": 14168.0, "status": "done"}, {"code": "a, b = map(int, input().split())\n\nif a + b < 24:\n    print(a + b)\nelse:\n    print(a + b -24)", "passed": true, "time": 0.14, "memory": 14336.0, "status": "done"}, {"code": "A, B = list(map(int, input().split()))\n\nif A + B >= 24:\n    print((A + B - 24))\nelse:\n    print((A + B))\n", "passed": true, "time": 0.14, "memory": 14300.0, "status": "done"}]