from typing import List


def convert_to_binary(n: int) -> List[int]:
    """Converts a base 10 int to list of binary digits"""
    res = [0]*36 # len mask = 37
    b = [int(x) for x in bin(n)[2:]]
    for j, _ in enumerate(b):
        res[-1-j] = b[-1-j]
    return res