short yersOfMyFriend = (thisYer - ageOfMyFriend); byte ageOfMyFriend = 8; short thisYer = 3126; String str = "Мой друг родился в "; String str1 = "-м году!"; System.out.println(str + yersOfMyFriend + str1);