#P4048. Chinese Repeating Crossbow

Chinese Repeating Crossbow

Description

Input

Output

Source