#t254. 高精除

高精除

High-Precision Division

Problem Description

Divide a high-precision number by another high-precision number, and find their quotient and remainder.

Input Format

Two positive integers below 300300 digits each, separated by a single space.

Output Format

Output the quotient and the remainder.

Sample Input

1231312318457577687897987642324567864324567876543245671425346756786867867867
1231312318767141738178325678412414124141425346756786867867867

Sample Output

999999999748590
179780909068307566598992807564736854549985603543237528310337

Constraints

1s, 1024KiB for each test case.