Spadework 2020. 2. 19. 10:32

* Solved 기준 브론즈2 단순 풀이

print(oct(int(input(),2))[2:])