1048: 高精度除低精度

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:1 Solved:1

Description

一共两个数,第一个为高精度数,第二个小于10000,求他们的商和余数

Input

两行数,第一行高精度,第二行低精度

Output

两行,第一行为商,第二行为余数

Sample Input Copy

4100
7

Sample Output Copy

585
5

HINT

高精度长度<=2000000
除数的大小<=10000