# Problem 23

### 10 comments on “Problem 23”

• Pallipattu

n=int(input())
a=0
for i in range(8):
a=a+n
print(a)

• shushank

a=int(input())
c=0
for i in range(1,9):
c=c+a
print(c)

• amit

#include

int main()
{
int num;
scanf(“%d”,&num);
for(int i=1;i<9;i++)
num=num+1;
printf("%d",num);
}

• Sunny

n=int(input())
sum1=0
#Python
for i in range(8):
sum1+=n
print(sum1)

• Sudarshan

import java.util.Scanner;
public class Multiply8 {
public static void main(String args[]) {
Scanner my = new Scanner(System.in);
int n = my.nextInt();
for(int i=0;i<3;i++) {
n=n+n;
}
System.out.println(n);
}

}

• Mohd Aquib

#include
void main()
{
int num, ans, n;
ans = 0;
n = 8;
printf(“\n Enter Number : “);
scanf(“%d”, &num);
while(n!=0)
{
ans = ans+num;
n–;
}
}

• Raman

#include

void main() {
int n;
int mul=0;
scanf(“%d”,&n);
for(int i=1;i<=8;i++){
mul+=n;
}
printf("%d",mul);
}

• rohan

#include
int main()
{
int i,j,k=0;
scanf(“%d”,&j);
for(i=1;i<=8;i++)
{
k=j+k;
}
printf("%d",k);
}

• Chandra Chandu

#include
using namespace std;
int main()
{
int final=0,i,j,n;
cin>>n;
for(i=1;i<=8;i++)
{
final=final+n;
}
cout<<final;
}

• Richik

one liner
print(int(input())<<3)