import android.graphics.Color;
class Main {
public static int darker(int c) {
int r = Color.red(c);
int b = Color.blue(c);
int g = Color.green(c);
return Color.rgb((int)(r*.7), (int)(g*.7), (int)(b*.7));
}
}