Part of 2018 Polish Junior MO Second Round
Source: XIII Polish Junior MO 2018 Second Round - Problem 4