Untitled

mail@pastecode.io avatar
unknown
python
7 months ago
210 B
2
Indexable
Never
def square_six(n, k):
    number = str(int((int(n) * '6')) ** 2)
    number_position = number[int(k) - 1]

    return number_position


n = float(input())
k = float(input())

print(square_six(n, k))