solve pe69: totient maximum using trial method
an effecient way to solve totient maximum