import java.util.Scanner; public class Main { public static void main(String[] args) { String []tiangan={"jia","yi","bing","ding","wu","ji","geng","xin","ren","gui"}; String []dizhi={"zi","chou","yin","mao","chen","si","wu","wei","shen","you","xu","hai"}; Scanner sc=new Scanner(System.in); int n=sc.nextInt(); while(n<2020) n+=60; n-=2020; System.out.printf("%s%s\n",tiangan[(n+6)%10],dizhi[n%12]); } }
0.0分
2 人评分