CF514B Han Solo and Lazer Gun

Description

There are $ n $ Imperial stormtroopers on the field. The battle field is a plane with Cartesian coordinate system. Each stormtrooper is associated with his coordinates $ (x,y) $ on this plane. Han Solo has the newest duplex lazer gun to fight these stormtroopers. It is situated at the point $ (x_{0},y_{0}) $ . In one shot it can can destroy all the stormtroopers, situated on some line that crosses point $ (x_{0},y_{0}) $ . Your task is to determine what minimum number of shots Han Solo needs to defeat all the stormtroopers. The gun is the newest invention, it shoots very quickly and even after a very large number of shots the stormtroopers don't have enough time to realize what's happening and change their location.

Input Format

The first line contains three integers $ n $ , $ x_{0} $ и $ y_{0} $ ( $ 1

Output Format

Print a single integer — the minimum number of shots Han Solo needs to destroy all the stormtroopers.

Explanation/Hint

Explanation to the first and second samples from the statement, respectively: ![](https://cdn.luogu.com.cn/upload/vjudge_pic/CF514B/e0665254dc28c85d59225f8c53a8542938957367.png)