AOJ No.0003-0005, GCD, LCM, swap