# cython: profile=True cdef int max(int a, int b): return a if a > b else b cdef int min(int a, int b): return a if a < b else b