CF710D Two Arithmetic Progressions

Description

You are given two arithmetic progressions: $ a_{1}k+b_{1} $ and $ a_{2}l+b_{2} $ . Find the number of integers $ x $ such that $ L

Input Format

N/A

Output Format

N/A