Skip to content

Instantly share code, notes, and snippets.

@monhime
Last active Aug 15, 2021
Embed
What would you like to do?
ABC214_A
import sys
from fractions import gcd
from collections import Counter, deque, defaultdict
from heapq import heappush, heappop, heappushpop, heapify, heapreplace, merge
from bisect import bisect_left, bisect_right, bisect, insort_left, insort_right, insort
from itertools import accumulate, product, permutations, combinations
from operator import itemgetter
import math # math.inf
def input(): return sys.stdin.readline().rstrip()
def main():
mod = 10**9 + 7
n =int(input())
if n <= 125:
print(4)
elif n <= 211:
print(6)
else:
print(8)
if __name__=='__main__':
main()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment